cvs commit: src/lib/libedit makelist

Andrey A. Chernov ache at FreeBSD.org
Mon Aug 4 07:10:35 PDT 2003


ache        2003/08/04 07:10:33 PDT

  FreeBSD src repository

  Modified files:
    lib/libedit          makelist 
  Log:
  Fix double-wrong tr usage: tr '[a-z]' '[A-Z]'
  
  First of all, it should be written as: tr 'a-z' 'A-Z'
  ranges not encolosed in [] according to POSIX, so [] just included
  in the replacement.
  Second, it should be written: tr '[:lower:]' '[:upper:]'
  since a-z and A-Z may have different length in some locales.
  
  Revision  Changes    Path
  1.6       +1 -1      src/lib/libedit/makelist


More information about the cvs-src mailing list