bug-sed
[Top][All Lists]
Advanced

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

bug#38661: sed 4.4 : Bogus expression generates an Exception ignored mes


From: Alejandro Torras
Subject: bug#38661: sed 4.4 : Bogus expression generates an Exception ignored message
Date: Wed, 18 Dec 2019 10:48:38 +0000

Greetings,

I've been hit by an 'Exception ignored' message while working on the following 
bogus sed expression:

$ lsb_release -d | sed -E -e 's:^[^:]+:[\t ]*(.*):\1:'
sed: -e expression #1, char 21: unknown option to `s'
Exception ignored in: <_io.TextIOWrapper name='<stdout>' mode='w' 
encoding='UTF-8'>
BrokenPipeError: [Errno 32] Broken pipe
$ sed --version
sed (GNU sed) 4.4
Copyright (C) 2017 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <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/>.
General help using GNU software: <http://www.gnu.org/gethelp/>.
E-mail bug reports to: <address@hidden>.
$ uname -a
Linux XXX 4.15.0-42-generic #45-Ubuntu SMP Thu Nov 15 19:32:57 UTC 2018 x86_64 
x86_64 x86_64 GNU/Linux

Playing around I've found another way to generate the same error (without the 
-E switch):

$ lsb_release -d | sed -e 's:^[^:]+[\t ]*(.*):\1:'
sed: -e expression #1, char 22: invalid reference \1 on `s' command's RHS
Exception ignored in: <_io.TextIOWrapper name='<stdout>' mode='w' 
encoding='UTF-8'>
BrokenPipeError: [Errno 32] Broken pipe

IMHO I think the "Exception ignored" message should not be raised, as it's 
caused by a formal error in the syntax and it was correctly reported before.
Could you give it a sight?

Thank you in advance!



Alejandro Torras

Software Engineer​



www.scytl.com<http://www.scytl.com/>



WE POWER DEMOCRACY



A/ Enric Granados 84 · 08008 · Barcelona · Spain



LEGAL NOTICE: This message and any attached files may contain confidential 
information and are intended solely for the named addressee(s). The disclosure, 
reproduction, or distributions of this message is not permitted without the 
express authorization of Scytl Secure Electronic Voting S.A If you are not the 
intended recipient of this message, please contact the sender and delete the 
material.


DATA PROTECTION: In accordance with the requirements of current regulations on 
personal data protection, including the Data Protection and Guarantee of 
Digital Rights Organic Law (LOPDGD) 3/2018 from December 6, 2018, and the 
General Data Protection Regulation (GDPR) (EU) 2016/679 from April 27, 2016, we 
inform you that your personal information and email address, collected from the 
interested party or from public sources, are under the responsibility of Scytl 
Secure Electronic Voting S.A. with the purpose of attending to your requests 
based on the consent given when contacting us. We will keep your personal data 
as long as there is a legitimate interest for it. The data will not be 
communicated to third parties, except when legally obligated. We would like to 
inform you that you can exercise your rights regarding the access, correction, 
portability, and suppression of your personal data or the limitations and 
oppositions to your treatment by sending a message to the email 
address@hidden<mailto:address@hidden>. If you consider that the treatment of 
your personal data does not comply with current regulations, you may file a 
claim with the control authority at www.aepd.es<http://www.aepd.es/>


reply via email to

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