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-07-2007
reborg's Avatar
reborg reborg is offline
Administrator
 

Join Date: Mar 2005
Location: Ireland
Posts: 3,824
one way:
Code:
awk 'BEGIN{FS="~" ;OFS="\n"} {$1=$1}1' file
or another:
Code:
tr '~' '\n' < file
Reply With Quote