Search Results

Search: Posts Made By: wanliushao
2,836
Posted By Chubler_XL
Please use and tags around any posted code. ...
Please use and tags around any posted code.

Is this what you are after:

for a in {1..100}
do
awk '{ sum+=$a} END {print sum}' a=$a file1
done > file2

or

awk '{for(i=1;i<=100;i++)...
2,871
Posted By shamrock
Not sure what you're looking for...can you be...
Not sure what you're looking for...can you be more clear about your requirements...
2,871
Posted By Scrutinizer
Not sure either. To just get the last column en...
Not sure either. To just get the last column en put it in three columns, try:
awk '{print $NF}' file | pr -s -t3
Showing results 1 to 3 of 3

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