[Gllug] Finding files with names that differ by case

- Tethys tethys at gmail.com
Thu Sep 20 14:28:33 UTC 2007


On 9/20/07, Anthony Newman <anthony.newman at ossified.net> wrote:


> spitroast:~ $ find /usr/include -type f | perl -pe 's/(.*)/\U$1/g;' |

Sheesh. Why use perl for something as trivial as uppercasing? Kids
these days! See tr(1) or sed(1).

Tet

-- 
Perl is like vise grips. You can do anything with it but it is the
wrong tool for every job. -- Bruce Eckel
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list