Files
hpr_website/eps/hpr2060/hpr2060_tac.sed
2025-10-28 18:39:57 +01:00

14 lines
317 B
Sed
Executable File

#!/bin/sed -nf
# reverse all lines of input, i.e. first line became last, ...
# from the second line, the buffer (which contains all previous lines)
# is *appended* to current line, so, the order will be reversed
1! G
# on the last line we're done -- print everything
$ p
# store everything on the buffer again
h