Search Results

Search: Posts Made By: blink_w
14,604
Posted By cgkmal
Hi blink_w, Try with: awk '{for (i = 1; i...
Hi blink_w,

Try with:
awk '{for (i = 1; i <= NF; i++) a[i, NR] = $i}
END {for (j = NR; j > 0; j--){
for (i = NF; i >= 1; i--) printf("%s ", a[i, j])
printf("\n")}}' inputfile | awk '{sub(/^[...
14,604
Posted By jim mcnamara
This sounds a lot like homework. We have a...
This sounds a lot like homework. We have a special forum for homework.
You can use the tac command if you are on linux.

tac filename | awk 'your code goes here'


Otherwise:

awk '...
Showing results 1 to 2 of 2

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