The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

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 -->
  #8 (permalink)  
Old 06-23-2009
rakeshawasthi rakeshawasthi is offline
Registered User
  
 

Join Date: Aug 2004
Location: India
Posts: 379
and what have you tried?

---------- Post updated at 07:37 PM ---------- Previous update was at 07:23 PM ----------

Code:
grep '^[A-Z]' inputfile > newfile
awk '/^[A-Z]/ {print}' inputfile > newfile