bug-grep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #28932] Grep doesn't handle Mac line ending


From: Paolo Bonzini
Subject: [bug #28932] Grep doesn't handle Mac line ending
Date: Fri, 19 Feb 2010 13:53:33 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.6) Gecko/20100107 Fedora/3.5.6-1.fc12 Firefox/3.5.6

Update of bug #28932 (project grep):

                  Status:                    None => Wont Fix               
             Open/Closed:                    Open => Closed                 

    _______________________________________________________

Follow-up Comment #1:

Please use tr \r \n to convert the line endings, possibly converting them
back when you are done with any Unix utility.  Note that grep will "act
strange" also with Windows line endings, for example 

$ echo $'abcrndefr' | grep c$
$ echo $'abcrndefr' | grep c.$
abc


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?28932>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]