Path: utzoo!attcan!uunet!samsung!usc!rutgers!cmcl2!yale!cs.yale.edu!spolsky-joel@CS.YALE.EDU From: spolsky-joel@CS.YALE.EDU (Joel Spolsky) Newsgroups: comp.unix.wizards Subject: Re: changing lc to uc file names Message-ID: <6578@cs.yale.edu> Date: 26 Nov 89 02:53:52 GMT References: <3764@hydra.gatech.EDU> Sender: news@cs.yale.edu Reply-To: spolsky-joel@CS.YALE.EDU (Joel Spolsky) Distribution: git.unix.questions,comp.unix.wizards Organization: Yale University Computer Science Dept, New Haven CT 06520-2158 Lines: 17 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