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 UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #2 (permalink)  
Old 05-16-2008
ilan ilan is offline
Registered User
 

Join Date: Jul 2007
Posts: 74
sed s/^$/NA/g file

you can always redirect the o/p to a new-file.

-ilan
Reply With Quote