The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #5 (permalink)  
Old 08-12-2005
jerardfjay jerardfjay is offline
Registered User
  
 

Join Date: Feb 2005
Posts: 146
use tr


Code:
tr -d '\n\' < file.dat

where file.dat


Code:
AFD|asdf|
asdf|ADF|
ASD|ASDF|ASDF|ASDFA|

and the output of the command is


Code:
AFD|asdf|asdf|ADF|ASD|ASDF|ASDF|ASDFA|