Re: [PATCH 01/16] tr portability fixes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Mar 13, 2008 at 08:32:37AM +0100, Johannes Sixt wrote:

> > 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
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux