bug#6195: Feature Request for "fold"

2010-05-14 Thread BJ Dierkes
Hello all, Per the coreutils site I was referred to submit feature requests here on list. I am trying to use the 'fold' utility to make prettier output from 'git-log'. The use is irrelevant, but that is my example: $ git --no-pager log --oneline | fold -s The output looks something like: a

bug#6176: [PATCH 2/2] sort: --debug: output data independent key warnings

2010-05-14 Thread Pádraig Brady
On 14/05/10 22:47, Pádraig Brady wrote: > On 14/05/10 22:23, Paul Eggert wrote: >> Something like the following diagnostic would be far more helpful for >> users who are not 'sort' experts: >> >> sort: obsolescent key `+2 -4' used; consider `-k 3,4' instead >> >> Can you please arrange for that?

bug#6175: dirname manpage and info page partially wrong/misleading

2010-05-14 Thread Eric Blake
On 05/11/2010 03:17 PM, Filipus Klutiero wrote: > This report is about 2 separate issues in the dirname documentation. The > info page is much better than the manual page, but says: >> `dirname' prints all but the final slash-delimited component of a >> string (presumably a file name, but also work

bug#6176: [PATCH 2/2] sort: --debug: output data independent key warnings

2010-05-14 Thread Pádraig Brady
On 14/05/10 22:23, Paul Eggert wrote: > On 05/14/10 06:10, Pádraig Brady wrote: > >> -if ((1 < (key->random + key->numeric + key->general_numeric + >> key->month >> - + key->version + !!key->ignore + key->human_numeric)) >> +if ((1 < (key->random + key_numeric (key) + key->mon

bug#6194: bug: pwd

2010-05-14 Thread Bob Proulx
eran shaham wrote: > the remark that was on > $ help pwd > pwd: pwd [-LP] > ... > It would save other people bothering you on that subject :-) Well, that documentation comes from 'bash' and we have no control over it here. But 'help' is a bash command and so all of the documentation from it is ab

bug#6194: bug: pwd

2010-05-14 Thread Eric Blake
[please don't top-post on technical lists] On 05/14/2010 02:47 PM, eran shaham wrote: > Thanks. > I suggest you add into > $man pwd 'man pwd' is auto-generated from '/bin/pwd --help'. Here's the output I get when using pwd from coreutils 8.4: > $ /bin/pwd --help > Usage: /bin/pwd [OPTION]... >

bug#6176: [PATCH 2/2] sort: --debug: output data independent key warnings

2010-05-14 Thread Paul Eggert
On 05/14/10 06:10, Pádraig Brady wrote: -if ((1 < (key->random + key->numeric + key->general_numeric + key->month - + key->version + !!key->ignore + key->human_numeric)) +if ((1 < (key->random + key_numeric (key) + key->month + key->version + + !!key->ignore))

bug#6194: bug: pwd

2010-05-14 Thread eran shaham
Thanks. I suggest you add into $man pwd or $info pwd the remark that was on $ help pwd pwd: pwd [-LP] Print the current working directory. With the -P option, pwd prints the physical directory, without any symbolic links; the -L option makes pwd follow symbolic links. It would save o

bug#6194: bug: pwd

2010-05-14 Thread Bob Proulx
retitle 6194 pwd tracks logical paths through symlinks tags 6194 + wontfix thanks eran shaham wrote: > `pwd' prints the fully resolved name of the current directory. That > is, all components of the printed name will be actual directory > names--*none will be symbolic links*. Thank you for the r

bug#6194: bug: pwd

2010-05-14 Thread Eric Blake
On 05/14/2010 01:13 PM, eran shaham wrote: > from: > info pwd > > one get: > `pwd' prints the fully resolved name of the current directory. That > is, all components of the printed name will be actual directory > names--*none will be symbolic links*. Thanks for the report. However, this is prob

bug#6194: bug: pwd

2010-05-14 Thread eran shaham
from: info pwd one get: `pwd' prints the fully resolved name of the current directory. That is, all components of the printed name will be actual directory names--*none will be symbolic links*. When you try the following: mkdir dirA dirB cd dirA ln -s ../dirB/ lnkB cd lnkB pwd you get: dirA/ln

bug#6176: [PATCH 2/2] sort: --debug: output data independent key warnings

2010-05-14 Thread Pádraig Brady
On 14/05/10 16:09, Eric Blake wrote: > On 05/14/2010 07:10 AM, Pádraig Brady wrote: >> >> /* The kind of blanks for '-b' to skip in various options. */ >> @@ -375,7 +378,8 @@ Other options:\n\ >>-C, --check=quiet, --check=silent like -c, but do not report first bad >> line\n\ >>--c

bug#6176: [PATCH 2/2] sort: --debug: output data independent key warnings

2010-05-14 Thread Eric Blake
On 05/14/2010 07:10 AM, Pádraig Brady wrote: > Latest version of the patch attached with new warnings and info. > Example output... > > $ sort --debug -rb -k2n +2 -1b /dev/null > sort: using `en_US.utf8' sorting rules > sort: obsolescent key formats used. Consider using `-k' > sort: key 1 is nume

bug#6176: [PATCH 2/2] sort: --debug: output data independent key warnings

2010-05-14 Thread Pádraig Brady
Latest version of the patch attached with new warnings and info. Example output... $ sort --debug -rb -k2n +2 -1b /dev/null sort: using `en_US.utf8' sorting rules sort: obsolescent key formats used. Consider using `-k' sort: key 1 is numeric and spans multiple fields sort: key 2 has zero width an

bug#6186: du in coreutils should add the -d flag as a shortcut to --max-depth

2010-05-14 Thread Jim Meyering
Jon Ringuette wrote: > So here is my first whack at it. One thing to note is there was a DU_DEBUG > optional define that defined a -d flag to use for debugging. It seemed like > using -d would be more useful for everyone to use for depth then for debug so > I modified the slightly oddly thrown