Search Results

Search: Posts Made By: football12345
1,747
Posted By agama
Your problem is this line: echo "This is...
Your problem is this line:


echo "This is : $(GREATER)"


should be

echo "this is $GREATER"


It's trying to execute GREATER.

You also don't need to use head if you are using awk:...
1,306
Posted By rdrtx1
There are spelling differences in lines 1 and 3....
There are spelling differences in lines 1 and 3. Line 6 is not on the other file.
1,272
Posted By spacebar
Try it this way and see if that is what you want:...
Try it this way and see if that is what you want:
LSFILELIST=`ls -1`
for EACHFILE in "${LSFILELIST}";
do
wc -lw ${EACHFILE} | awk '{print $3 " " $1 " " $2}'
done
Showing results 1 to 3 of 3

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