bug-sed
[Top][All Lists]
Advanced

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

bug#30251: REMOVE bllank line on DOS file format


From: Mauro Rigoni
Subject: bug#30251: REMOVE bllank line on DOS file format
Date: Thu, 25 Jan 2018 13:25:35 +0000

Hi,

                with the last x86_32 version of sed (windows platform) the
following pattern



sed '\?^$?D'



don’t remove blank line from file if the file is in DOS format. In the
previous version 2.2 this command working.


In attach the demo test files.


*sed --version :*

*sed (GNU sed) 4.4*

*Packaged by Cygwin (4.4-1)*

*Copyright (C) 2017 Free Software Foundation, Inc.*

*License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html <http://gnu.org/licenses/gpl.html>>.*

*This is free software: you are free to change and redistribute it.*

*There is NO WARRANTY, to the extent permitted by law.*


*Written by Jay Fenlason, Tom Lord, Ken Pizzini,*

*and Paolo Bonzini.*

*GNU sed home page: <http://www.gnu.org/software/sed/
<http://www.gnu.org/software/sed/>>.*

*General help using GNU software: <http://www.gnu.org/gethelp/
<http://www.gnu.org/gethelp/>>.*

*E-mail bug reports to: <address@hidden <address@hidden>>.*
-- 

Saluti
Mauro Rigoni

Attachment: test_DOS.txt
Description: Text document

Attachment: test_UNIX.txt
Description: Text document


reply via email to

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