ccsupos@prism.gatech.EDU (SCHREIBER, O. A.) (11/23/89)
I would like to change a collection of file names from lower case to upper case. Would anybody be so kind as to give me help on how to do that? Thanks. -- Olivier Schreiber (404)894 6147, Office of Computing Services Georgia Institute of Technology, Atlanta Georgia, 30332 uucp: ...!{allegra,amd,hplabs,seismo,ut-ngp}!gatech!prism!ccsupos ARPA: ccsupos@prism.gatech.edu
spolsky-joel@CS.YALE.EDU (Joel Spolsky) (11/26/89)
In article <3764@hydra.gatech.EDU> ccsupos@prism.gatech.EDU (SCHREIBER, O. A.) writes: |I would like to change a collection of file names from |lower case to upper case. in most implementations of csh this works: % foreach i ( * ) ? mv $i `echo $i | tr a-z A-Z` ? end Your mileage may vary, esp. if your version of tr doesn't grok "a-z". +----------------+----------------------------------------------------------+ | Joel Spolsky | bitnet: spolsky@yalecs.bitnet uucp: ...!yale!spolsky | | | internet: spolsky@cs.yale.edu voicenet: 203-436-1538 | +----------------+----------------------------------------------------------+ #include <disclaimer.h>