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 -->
  #11 (permalink)  
Old 05-15-2008
finalight finalight is offline
Registered User
 

Join Date: May 2008
Posts: 51
Quote:
grep -v '[=-(]' test.txt
you mean this?

my dashes are not at the first position, in fact it's a certain distance away from the 1st position of the line, having some spaces in between


when i do that command above, it still doesn't remove the dashes, that's all
Reply With Quote