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 Advanced & Expert Users
.
google unix.com



UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Simple question (for you guys, hard for me) BkontheShell718 Shell Programming and Scripting 3 01-07-2008 11:48 AM
[question] hard exercise, help needed EnioMarques UNIX for Dummies Questions & Answers 2 09-20-2007 11:22 PM
Hard Drive Question Netghost AIX 0 08-24-2006 02:01 PM
Please Help.... Desperate need! Hard Question! Sparticus007 UNIX for Advanced & Expert Users 1 01-11-2002 06:43 PM
Experts Only! Hard Question Ahead!!!! Foo49272 UNIX for Advanced & Expert Users 1 01-07-2002 10:22 PM

 
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 08-02-2008
msb65 msb65 is offline
Registered User
  
 

Join Date: Aug 2008
Posts: 89
hard question

I have a directory containing a series of files of the format:
A2008001231000.L2

I only care about the 6-8 digits, so the files are effectively:
?????---*.L2

I have files that range from ?????001*.L2 to ?????366*.L2

It should be noted these three digits represent the julian day of the files. My goal is to be able to define two variables: start_day and end_day. How can I list off all the files between start_day and end_day. NOTE: Since the julian days must be 3 digits long, it complicates matters.
 

Bookmarks

Tags
datecalc

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 07:15 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