The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




Thread: Merging of rows
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #6 (permalink)  
Old 01-05-2009
radoulov's Avatar
radoulov radoulov is online now Forum Staff  
addict
  
 

Join Date: Jan 2007
Location: Варна, България / Milano, Italia
Posts: 2,887
Quote:
Originally Posted by ssachins View Post
How to identfy which lines were merged while processing the file ?
Just append some string to identify them:

Code:
perl -00ple'tr.\n. . and $_.=" __FIXED__"' infile