Search Results

Search: Posts Made By: vikramgk9
1,930
Posted By Chubler_XL
1. Is it a typo that Friday's file is missing the...
1. Is it a typo that Friday's file is missing the 05 i.e. should abc_def_YYYYMMDD above be abc_def_05_YYYYMMDD

2. if the files are sorted by the YYYYMMDD part of the file name will this do the...
3,198
Posted By MadeInGermany
3 examples: cnt=`tr -dc '[0-9]' < count` echo...
3 examples:
cnt=`tr -dc '[0-9]' < count`
echo "$cnt"
cnt=`sed 's/[^0-9]//g' count`
echo "$cnt"
IFS="=" read junk cnt < count
echo "$cnt"
echo "$junk"
1,289
Posted By Corona688
Can you change the filenames to better match your...
Can you change the filenames to better match your problem? If they were YYYYMMDD_05_abc, for FILE in * would spit them out in ascending date order.
Showing results 1 to 3 of 3

 
All times are GMT -4. The time now is 08:17 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy