The UNIX and Linux Forums  

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




Thread: grep problem
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #3 (permalink)  
Old 07-21-2008
joeyg's Avatar
joeyg joeyg is offline Forum Staff  
modérateur
  
 

Join Date: Dec 2007
Location: Home of 17-time world champion Boston Celtics
Posts: 1,311
Question You can sometimes 'fool' grep by playing with the line layout

It is unclear what you are trying to look for. However, sometimes a file can be re-formatted to combine multiple related lines into one - so grep can work - and then the file broken back into pieces.

This is done with a "tr" command.

If you provide more on what you are trying to learn from this file, someone may be able to assist in extracting the information.