Search Results

Search: Posts Made By: zsoltika
1,360
Posted By zsoltika
IMHO the first sed line deletes all the lines...
IMHO the first sed line deletes all the lines from $file where the line is empty (only contains a newline character) or is filled with spaces.
The next line sets the field variable to the first non...
8,469
Posted By zsoltika
If using 'sed ' is an option: for i in *.WIP;...
If using 'sed ' is an option:
for i in *.WIP; do
echo $i
mv $i `echo $i | sed 's/\..*$//'`.ixf
done

Or if you want (GNU) awk, and assuming the 1st dot in the filename separates all the...
Showing results 1 to 2 of 2

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