GNU bug report logs - #9956
Linux program "sum"

Previous Next

Package: coreutils;

Reported by: Rodney Rieck <rodneyrieck <at> suddenlink.net>

Date: Fri, 4 Nov 2011 19:15:01 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: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Rodney Rieck <rodneyrieck <at> suddenlink.net>
Subject: bug#9956: closed (Re: bug#9956: Linux program "sum")
Date: Fri, 04 Nov 2011 20:00:06 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#9956: Linux program "sum"

which was filed against the coreutils package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 9956 <at> debbugs.gnu.org.

-- 
9956: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=9956
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Eric Blake <eblake <at> redhat.com>
To: Rodney Rieck <rodneyrieck <at> suddenlink.net>
Cc: 9956-done <at> debbugs.gnu.org
Subject: Re: bug#9956: Linux program "sum"
Date: Fri, 04 Nov 2011 13:56:59 -0600
tag 9956 notabug
thanks

On 11/04/2011 12:37 PM, Rodney Rieck wrote:
>     If you type in something like this:  sum -r *
>
>     and if there are multiple files present in the current directory, you
>     will get output like this for each file it checks:
>
>     [check_sum] [number_of_blocks] [file_name]
>
>     If though on the command line you change the "*" to a single file name,
>     the output is the same except that it doesn't print/display the
>     "[file_name]", I guess because that seems redundant because the file
>     name is already known and was typed in on the command line.

Thanks for the report.  If you want 'sum' to output the file name, even 
for one file, then use 'sum --sysv' (or sum -s), although that alters 
the output to strip leading zeroes and use slightly different spacing:

$ sum a
00000     0 a
$ sum -s a
0 0 a

Since this feature is already implemented, I'm closing out this bug report.

-- 
Eric Blake   eblake <at> redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

[Message part 3 (message/rfc822, inline)]
From: Rodney Rieck <rodneyrieck <at> suddenlink.net>
To: <bug-coreutils <at> gnu.org>
Subject: Linux program "sum"
Date: Fri, 4 Nov 2011 13:37:34 -0500
[Message part 4 (text/html, inline)]

This bug report was last modified 13 years and 199 days ago.

Previous Next


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