Search Results

Search: Posts Made By: era
2,276
Posted By era
A more general solution is to use printf ...
A more general solution is to use printf

while read name age marks; do
printf "%-12s %2i %s\n" "$name" "$age" "$marks"
done <txt

It's simpler still if you use awk, because it will loop over...
Showing results 1 to 1 of 1

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