mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 11:37:44 +00:00
tac: correct behavior of -b option (#2523)
* tac: correct behavior of -b option Correct the behavior of `tac -b` to match that of GNU coreutils `tac`. Specifically, this changes `tac -b` to assume *leading* line separators instead of the default *trailing* line separators. Before this commit, the (incorrect) behavior was $ printf "/abc/def" | tac -b -s "/" def/abc/ After this commit, the behavior is $ printf "/abc/def" | tac -b -s "/" /def/abc Fixes #2262. * fixup! tac: correct behavior of -b option * fixup! tac: correct behavior of -b option Co-authored-by: Sylvestre Ledru <sylvestre@debian.org>
This commit is contained in:
parent
114c9a409c
commit
4ef35d4a96
3 changed files with 96 additions and 63 deletions
|
@ -1 +1 @@
|
|||
97:89:83:79:73:71:67:61:59:53:47:43:41:37:31:29:23:19:17:13:11:7:5:3:2
|
||||
:97:89:83:79:73:71:67:61:59:53:47:43:41:37:31:29:23:19:17:13:11:7:5:32
|
Loading…
Add table
Add a link
Reference in a new issue