rev(1) should reverse lines, arbitrarily-separated values (à la GNU tac(1)), or words, depending on the flags specified. These lines will be supplied from the standard input.
`rev(1)` should reverse lines, arbitrarily-separated values (à la GNU `tac(1)`), or words, depending on the flags specified. These lines will be supplied from the standard input.
`rev [-w] [-s separator]`
This offloads functionality from #22.
Arbitrary delimiter(s) (e.g. out hello world | reverse -d e -d o would print hellow odlr) or -w for whitespace sounds good to me, if that"s what you mean by the usage string.
I think reverse(1) would be fine.
Arbitrary delimiter(s) (e.g. `out hello world | reverse -d e -d o` would print `hellow odlr`) or `-w` for whitespace sounds good to me, if that"s what you mean by the usage string.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
rev(1)should reverse lines, arbitrarily-separated values (à la GNUtac(1)), or words, depending on the flags specified. These lines will be supplied from the standard input.rev [-w] [-s separator]This offloads functionality from #22.
Turns out it needs a different name since
rev(1)is a GNU utility.I think reverse(1) would be fine.
Arbitrary delimiter(s) (e.g.
out hello world | reverse -d e -d owould printhellow odlr) or-wfor whitespace sounds good to me, if that"s what you mean by the usage string.My though was that
-wis for words and-dwas for arbitrary delimiters, defaulting to newlines.That seems equivalent functionally to what I figured.
It is, isn’t it! Sounds good to me.
Now we just need a better name.
@trinity what do you think of
flip(1)?I like it.
`rev(1)` – reverse datato `flip(1)` – reverse data