Sample Header Ad - 728x90

Explanation of tac --before

12 votes
2 answers
1141 views
> -b, --before > > The separator is attached to the beginning of the record that it > precedes in the file. And I can't understand the following output: $ echo -e "Hello\nNew\nWorld\n!" > file $ tac file ! World New Hello $ tac -b file ! World NewHello Why there is no newline between New and Hello?
Asked by SantaXL (375 rep)
Oct 21, 2019, 06:18 PM
Last activity: Oct 23, 2019, 07:54 AM