GNU bug report logs - #7706
tac prints file lines in order when given a separator

Previous Next

Package: coreutils;

Reported by: Tim Blair <trblair <at> gmail.com>

Date: Wed, 22 Dec 2010 11:10:03 UTC

Severity: normal

Done: Bob Proulx <bob <at> proulx.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: Tim Blair <trblair <at> gmail.com>
To: bug-coreutils <at> gnu.org
Subject: tac prints file lines in order when given a separator
Date: Tue, 21 Dec 2010 21:43:18 -0500
[Message part 1 (text/plain, inline)]
[tim]$ /usr/bin/tac test.txt
six
five
four
three
two
one
[tim]$ /usr/bin/tac --separator=blah test.txt
one
two
three
four
five
six

The output of the first command makes sense, but I think that the second run
should print in the reverse order (and should have the separator, although I
could be misreading the man page)

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

This bug report was last modified 14 years and 211 days ago.

Previous Next


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