Thread (3 messages) flat view 3 messages, 2 authors, 2016-06-15

Re: [PATCH 01/16] tr portability fixes

From: Jeff King <hidden>
Date: 2016-06-15 22:44:22

On Thu, Mar 13, 2008 at 08:32:37AM +0100, Johannes Sixt wrote:
quoted
However, this doesn't work with multiple sequences, like:

  # rot13
  tr '[A-Z][a-z]' '[N-Z][A-M][n-z][a-m]'
Not that it matters a lot, but I wonder whether

   tr '[A-M][N-Z][a-m][n-z]' '[N-Z][A-M][n-z][a-m]'

would have done the trick.
For the record, it does on Solaris (and I really can't imagine it _not_
working anywhere else, but then I couldn't imagine my example not
working, either. ;) ).

-Peff
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help