GNU bug report logs - #22428
SED 4.2.2 vs SED 4.1.5

Previous Next

Package: sed;

Reported by: WALTHER PLANZO II <walther.planzo.ii <at> ericsson.com>

Date: Thu, 21 Jan 2016 20:48:01 UTC

Severity: normal

Tags: notabug

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

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 22428 in the body.
You can then email your comments to 22428 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-sed <at> gnu.org:
bug#22428; Package sed. (Thu, 21 Jan 2016 20:48:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to WALTHER PLANZO II <walther.planzo.ii <at> ericsson.com>:
New bug report received and forwarded. Copy sent to bug-sed <at> gnu.org. (Thu, 21 Jan 2016 20:48:01 GMT) Full text and rfc822 format available.

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

From: WALTHER PLANZO II <walther.planzo.ii <at> ericsson.com>
To: "bug-sed <at> gnu.org" <bug-sed <at> gnu.org>
Cc: "bonzini <at> gnu.org" <bonzini <at> gnu.org>
Subject: SED 4.2.2 vs SED 4.1.5
Date: Thu, 21 Jan 2016 20:35:18 +0000
[Message part 1 (text/plain, inline)]
Hello GNU team,

I am facing an interesting situation with SED, could you please provide some insights?


*         I have 2 Linux Machines, for instance M1 and M2.

*         On M1 I have UBUNTU 14 and on this machine I used PERL v5.18.2 to build a perl script that invokes SED according to the line below (xxxx are credentials only):

o   ldapsearch -x -P 3 -p 7323 -h xxx.xxx.xxx.xxx -w xxxxxx -D "administratorName=xxxxx,nodeName=xxxxxx" -b "nodeName=xxxxxxx" -LLL | sed -e :a -e '$!N;s/\\n[ \\t]//;ta' -e 'P;D'> /tmp/conf1.ldif

*         In M1 all runs smoothly and perfect

*         However, on M2 that runs SUSE Linux Enterprise Desktop 11 (x86_64) with perl v5.10.0, when I run the exact same perl script that invokes the exact same line that contains the SED commands above, I get the error below :

o   sed: -e expression #2, char 1: unknown command: `B`

*         On M1 the SED release is 4.2.2, no issues there. My problem is on M2 with SED release 4.1.5.

I tried to compare both SED releases man pages and I saw only slight differences there, but not a significant one to explain my issue, can you help?

Thanks a lot and Best Regards,

Walther Planzo II


[Message part 2 (text/html, inline)]

Information forwarded to bug-sed <at> gnu.org:
bug#22428; Package sed. (Fri, 22 Jan 2016 11:19:02 GMT) Full text and rfc822 format available.

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

From: Paolo Bonzini <bonzini <at> gnu.org>
To: WALTHER PLANZO II <walther.planzo.ii <at> ericsson.com>,
 "bug-sed <at> gnu.org" <bug-sed <at> gnu.org>
Subject: Re: SED 4.2.2 vs SED 4.1.5
Date: Fri, 22 Jan 2016 12:17:51 +0100

On 21/01/2016 21:35, WALTHER PLANZO II wrote:
> ·         However, on M2 that runs SUSE Linux Enterprise Desktop 11
> (x86_64) with perl v5.10.0, when I run the exact same perl script that
> invokes the exact same line that contains the SED commands above, I get
> the error below :
> 
> o   sed: -e expression #2, char 1: unknown command: `B`
> 
> ·         On M1 the SED release is 4.2.2, no issues there. My problem is
> on M2 with SED release 4.1.5.
> 

Since there's no "B" in the command you quoted, it's possible that the
issue is in Perl 5.10 vs. 5.18.

Paolo




Added tag(s) notabug. Request was from Assaf Gordon <assafgordon <at> gmail.com> to control <at> debbugs.gnu.org. (Wed, 25 Jan 2017 02:43:02 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 22428 <at> debbugs.gnu.org and WALTHER PLANZO II <walther.planzo.ii <at> ericsson.com> Request was from Assaf Gordon <assafgordon <at> gmail.com> to control <at> debbugs.gnu.org. (Wed, 25 Jan 2017 02:43:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-sed <at> gnu.org:
bug#22428; Package sed. (Wed, 25 Jan 2017 02:43:02 GMT) Full text and rfc822 format available.

Message #15 received at 22428-done <at> debbugs.gnu.org (full text, mbox):

From: Assaf Gordon <assafgordon <at> gmail.com>
To: 22428-done <at> debbugs.gnu.org
Subject: Re: SED 4.2.2 vs SED 4.1.5
Date: Wed, 25 Jan 2017 02:41:39 +0000
tags 22428 notabug
close 22428
stop

Hello,

Based on Paolo's last message, I'm closing this bug report:
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=22428#8

regards,
- assaf




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 22 Feb 2017 12:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 8 years and 115 days ago.

Previous Next


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