-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 According to Pádraig Brady on 3/7/2008 8:46 AM: |> Unfortunately you can't see a difference between a directory and a file |> in the output. It would be nice if the directories would be added by a |> slash. | | How about the attaced patch?
I don't think you can do it by default - it must be via an option. POSIX states: ~ The output from du shall consist of the amount of space allocated to a file and the name of the file, in the following format: ~ "%d %s\n", <size>, <pathname> http://www.opengroup.org/onlinepubs/009695399/utilities/du.html (where ' ' implies an arbitrary amount of whitespace characters). I don't think we can arbitrarily add / to <pathname> and still comply with POSIX. - -- Don't work too hard, make some time for fun as well! Eric Blake [EMAIL PROTECTED] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFH0W+n84KuGfSFAYARAqOPAJ9ENdTJiGU0uyBoI26Nk41hwtpBvACfbyd7 DfF4Tg5efZs9QTyMoDCEwC4= =fyE3 -----END PGP SIGNATURE----- _______________________________________________ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreutils