GNU bug report logs - #23239
GNU echo -n argument bug

Previous Next

Package: coreutils;

Reported by: Faissal Bensefia <faissaloo <at> me.com>

Date: Thu, 7 Apr 2016 19:54:02 UTC

Severity: normal

Tags: notabug

Done: Eric Blake <eblake <at> redhat.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Faissal Bensefia <faissaloo <at> me.com>
To: 23239 <at> debbugs.gnu.org
Subject: bug#23239: GNU echo -n argument bug
Date: Thu, 07 Apr 2016 20:27:27 +0100
Hey,
I stumbled across a bug in GNU coreutils' echo, if I use echo with an
option like -nn or -nnnnnnn it should be treated as something echoable
and echo "-nnnnnnn\n" but it doesn't, instead it takes it as an -n
argument and just doesn't echo with a newline. If I were to however put
a character that is not an 'n' in the long string of ns it does echo it
as it should.

Thank you for your time,
~Faissal Bensefia




This bug report was last modified 9 years and 70 days ago.

Previous Next


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