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 -->
  #6 (permalink)  
Old 08-07-2007
akdwivedi akdwivedi is offline
Registered User
 

Join Date: Aug 2007
Posts: 8
Quote:
Originally Posted by jacoden View Post
Try this..

Code:
awk -F"~" '{if ($4==0) $4=4; print $0;}' filename
Hi Jacoden

I tried it , but i have lost my de-limiters '~' and got only space instead.

Abhi.
Reply With Quote