GNU bug report logs - #30251
REMOVE bllank line on DOS file format

Previous Next

Package: sed;

Reported by: Mauro Rigoni <mauro.rigoni <at> gmail.com>

Date: Thu, 25 Jan 2018 16:28:01 UTC

Severity: normal

Tags: notabug

Done: Assaf Gordon <assafgordon <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Mauro Rigoni <mauro.rigoni <at> gmail.com>
To: bug-sed <at> gnu.org
Subject: REMOVE bllank line on DOS file format
Date: Thu, 25 Jan 2018 13:25:35 +0000
[Message part 1 (text/plain, inline)]
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: <bug-sed <at> gnu.org <bug-sed <at> gnu.org>>.*
-- 

Saluti
Mauro Rigoni
[Message part 2 (text/html, inline)]
[test_DOS.txt (text/plain, attachment)]
[test_UNIX.txt (text/plain, attachment)]

This bug report was last modified 7 years and 176 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.