Timeline for reverse file character by character using tac
Current License: CC BY-SA 4.0
5 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Dec 13, 2019 at 21:43 | comment | added | Skippy le Grand Gourou | @mosvy Thanks for the hint, added a warning. ;) | |
| Dec 13, 2019 at 21:42 | history | edited | Skippy le Grand Gourou | CC BY-SA 4.0 | added 106 characters in body |
| Dec 13, 2019 at 21:31 | comment | added | user313992 | you can replace the rev with perl -ne 'print scalar reverse', though. | |
| Dec 13, 2019 at 21:22 | comment | added | user313992 | Indeed. A ~tenfold speedup. But it's not actually reversing the input character by character: in printf "foo\nbar\n" | rev | tac, the output will not start with "\n" and end with "f", but start with "r" and end with "\n" ;-) | |
| Dec 13, 2019 at 20:44 | history | answered | Skippy le Grand Gourou | CC BY-SA 4.0 |