[HPADM] Scripting question for retrieving the generation of the file

From: Lal, Neeraj (neeraj_lal@mcgraw-hill.com)
Date: Mon Mar 22 2004 - 09:26:45 EST


Hi Admins
 
I have a scripting question
 
I have a dir in which files with extension is residing and the range of extension is between (00001 to 99999) i-e for generation of the files.
 
I need a script which user will input
 
If input is blank the latest current or highest no. file should be displayed
 
If input is 1-30 it should to automatically display the file of that that generation say if input is 10 then from the highest no 10 should minuses and whatever no comes that file should be displayed
 
Can somebody give some code how to achieve this ..
 
Thanks
 
 
Neeraj. Lal.
Consultant
The McGraw-Hill Companies Inc
148 Princeton-Hightstown Road
Hightstown, NJ 08520
email: neeraj_lal@mcgraw-hill.com <mailto:neeraj_lal@mcgraw-hill.com>
 

--
             ---> Please post QUESTIONS and SUMMARIES only!! <---
        To subscribe/unsubscribe to this list, contact majordomo@dutchworks.nl
       Name: hpux-admin@dutchworks.nl     Owner: owner-hpux-admin@dutchworks.nl
 
 Archives:  ftp.dutchworks.nl:/pub/digests/hpux-admin       (FTP, browse only)
            http://www.dutchworks.nl/htbin/hpsysadmin   (Web, browse & search)


This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 11:02:39 EDT