The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
ESC sequence on RHEL5 amit1_x Linux 2 04-28-2008 12:37 PM
checking the smallest and largest number subin_bala Shell Programming and Scripting 4 04-24-2008 08:32 AM
Sequence number generation on a key column sbasetty Shell Programming and Scripting 6 03-27-2008 12:09 PM
checking invoice number not correct happyv Shell Programming and Scripting 8 03-29-2007 06:07 AM
checking jump sequence number (part2) happyv Shell Programming and Scripting 3 10-19-2006 07:03 AM

 
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1 (permalink)  
Old 04-24-2003
nhatch nhatch is offline
Registered User
  
 

Join Date: Aug 2002
Location: London, England
Posts: 85
sequence number checking

Hi there,

I'm wanting to produce a shell script that will check through some file names and identify a skip in sequence (four digit seq num in file name).

I have played on the idea of havng a file that has a sorted list of file names which I can read line at a time and cut out the sequence number. This is were I'm sure where to go. How can I compare the current seqence number with the next?

I can get the current sequence number and produce what the next should be but how do I confirm what does come next?

I hope someone can help????

Cheers and beers,
Neil

PS, Not home work... and no, this not a double bluff!!!!
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 05:19 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0