Questions tagged [tac]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
1answer
78 views

Usage of readarray and tac

I have a file containing "lines" of text, for now only two lines. I need to create a reversed array of these lines - FIFO style. Using "readarray" in this fashion works fine: readarray -t FileArray &...
4
votes
1answer
361 views

reverse file character by character using tac

I want to use the tacto reverse a text file character by character. On the info page for coreutils I found an example saying: #Reverse a file character by character tac -r -s 'x\|[^x]' However ...