Re: [egg...@cs.ucla.edu: Re: sort -N patch: sort in natural order]

2009-06-05 Thread Martin Sarfy
You are right, "-V" is exactly the same algorithm. The moral of the story is that next time I will patch against latest greatest source code version :-) Have a nice day Martin On Fri, Jun 05, 2009 at 04:43:05PM +0100, Pádraig Brady wrote: > > Thanks very much for that. However I think this op

Re: [egg...@cs.ucla.edu: Re: sort -N patch: sort in natural order]

2009-06-05 Thread Pádraig Brady
Martin Sarfy wrote: > Hello, > > attached there is a patch against coreutils-6.10/sort.c implementing > "Natural order sorting" (e.g. "A1" < "A2" < "A10"), using "-N" parameter. > > Please, consider it's inclusion in upstream :-) > > Signing papers with copyright is not a problem. > > Best rega

Re: wish: cp: output some sort of message if copying was interrupted

2009-06-05 Thread Elmar Stellnberger
Philip Rowlands schrieb: > On Fri, 5 Jun 2009, Elmar Stellnberger wrote: > >> Yes that will be a good solution for the usage of cp within shell >> scripts. However in most cases I invoke cp directly via the command line >> so that it is somehow awkward and very easy to forget having to issue >> a

Re: [egg...@cs.ucla.edu: Re: sort -N patch: sort in natural order]

2009-06-05 Thread Kamil Dudka
Hello Martin, On Friday 05 of June 2009 09:42:32 Martin Sarfy wrote: > Hello, > > attached there is a patch against coreutils-6.10/sort.c implementing > "Natural order sorting" (e.g. "A1" < "A2" < "A10"), using "-N" parameter. > > Please, consider it's inclusion in upstream :-) could you please c

Re: wish: cp: output some sort of message if copying was interrupted

2009-06-05 Thread Elmar Stellnberger
Philip Rowlands schrieb: > On Sun, 24 May 2009, Elmar Stellnberger wrote: > >> If I issue a 'cp -a' on one konsole and a 'killall -s SIGINT cp' on >> another konsole cp -a will terminate just as if it had finished copying. > > Not quite; the exit status passed to the calling process will show th

[egg...@cs.ucla.edu: Re: sort -N patch: sort in natural order]

2009-06-05 Thread Martin Sarfy
Hello, attached there is a patch against coreutils-6.10/sort.c implementing "Natural order sorting" (e.g. "A1" < "A2" < "A10"), using "-N" parameter. Please, consider it's inclusion in upstream :-) Signing papers with copyright is not a problem. Best regards, Martin Sarfy - Forwarded mess

Re: wish: cp: output some sort of message if copying was interrupted

2009-06-05 Thread Philip Rowlands
On Fri, 5 Jun 2009, Elmar Stellnberger wrote: Yes that will be a good solution for the usage of cp within shell scripts. However in most cases I invoke cp directly via the command line so that it is somehow awkward and very easy to forget having to issue always an extra command that tests for t

Re: [PATCH] maint: use a wildcard to include all syntax check exceptions in dist

2009-06-05 Thread Jim Meyering
Pádraig Brady wrote: > I noticed a couple of syntax check exception files > missing from the distribution tarball. Specifically > .x-sc_require_config_h_first and .x-sc_error_message_uppercase > > The attached patch changes things so we don't have to > maintain the list. Good catch. I've suspected