GNU bug report logs - #20542
Differences between q and Q

Previous Next

Package: sed;

Reported by: Paolo Bonzini <bonzini <at> gnu.org>

Date: Sun, 10 May 2015 16:02:02 UTC

Severity: normal

Tags: wontfix

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

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Paolo Bonzini <bonzini <at> gnu.org>
To: sed-users <at> yahoogroups.com, 20542 <at> debbugs.gnu.org, jemarch <at> gnu.org
Subject: bug#20542: Differences between q and Q
Date: Sun, 10 May 2015 17:45:14 +0200

On 10/05/2015 07:07, Daniel Goldman dgoldman <at> ehdp.com [sed-users] wrote:
> Again, to repeat, the purpose of my post (based on emails I received) 
> was to suggest that the GNU sed manual be corrected to read "Note that 
> the current pattern space is printed if auto-print is not disabled with 
> the -n options. Also, scheduled text is printed." for q, and "This 
> command is the same as q, but will not print the contents of pattern 
> space, nor any scheduled text." for Q. If anyone has comments on this 
> admittedly minor correction, that would be great. If no comments, that's 
> OK too. :)

Yes, this is a good change.  I'm CCing the current GNU sed maintainer so
that he can work it out into a patch.

By the way, there is another command ("d") that suppresses scheduled text.

Paolo




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

Previous Next


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