The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #7 (permalink)  
Old 09-26-2008
jaimono jaimono is offline
Registered User
  
 

Join Date: Sep 2008
Posts: 1
Upcase each word in a file with sed

This is with GNU sed:


Code:
cat bla.txt | sed 's/\([a-z]\)\([a-zA-Z0-9]*\)/\u\1\2/g'