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 the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #4 (permalink)  
Old 10-21-2008
wempy's Avatar
wempy wempy is offline
Registered User
  
 

Join Date: Jun 2006
Location: Harpenden, UK
Posts: 208
That is strange, if I pipe that string directly into sed on my machine I get the required result. Can you run the grep without the sed and show us the exact output of the grep (including all spacing and 'wierd' chars).

my sed version:

chris@druid: ~ $ sed --version
GNU sed version 4.1.5

Last edited by wempy; 10-21-2008 at 11:57 AM.. Reason: added sed version