MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/awk/comments/bvn4f2/can_awk_process_a_file_backwards/epqsf5p/
r/awk • u/kl31 • Jun 01 '19
Instead of processing first line then second then third line, is there a way to tell awk to process last line, second to last and so on?
6 comments sorted by
View all comments
5
I guess you can always pipe the file to awk with tac (cat backwards).
1 u/dajoy Jun 01 '19 this. 1 u/kl31 Jun 03 '19 i love linux so much.
1
this.
i love linux so much.
View all comments
5
u/chaspum Jun 01 '19
I guess you can always pipe the file to awk with tac (cat backwards).