Re: awk scripts problem after upgrade from RHEL-2.1 to RHEL-4

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ben Russo wrote:
<snip>
and it would give you a list of files in the directories that are listed in /u/apps/utilities/idxpath that contain the date string in the range given.

any ideas?

ls /u/apps/utilities/idxpath | grep -e $(seq -s ' -e ' 060501 060510)


where the final two numbers represent the start and end dates respectively. It wouldn't be too hard to script with "expr" so that it evaluated your relative dates...

jack
--
Jack Challen
Technical Consultant, OCSL.
http://www.ocsl.co.uk/

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux