Re: printf failure on HP/UX 10.20 with 6.9.92

2008-02-05 Thread Bob Proulx
Eric Blake wrote:
 According to Peter Fales on 2/4/2008 4:00 PM:
 |It looks like the system snprintf is buggy.  I suspect the '-' 
 ...
 And that violates C99/POSIX.  Duplication of the `-' flag should not
 disable it.

In some defense of HP-UX 10.20 it was released IIRC in 1996 which was
well before this last round of C99/POSIX.  Support for it has long
ended.  I am not surprised it didn't conform to a standard which
didn't exist when it was released.  :-)

Bob



___
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils


Re: printf failure on HP/UX 10.20 with 6.9.92

2008-02-05 Thread Andreas Schwab
[EMAIL PROTECTED] (Bob Proulx) writes:

 Eric Blake wrote:
 According to Peter Fales on 2/4/2008 4:00 PM:
 |It looks like the system snprintf is buggy.  I suspect the '-' 
 ...
 And that violates C99/POSIX.  Duplication of the `-' flag should not
 disable it.

 In some defense of HP-UX 10.20 it was released IIRC in 1996 which was
 well before this last round of C99/POSIX.

But that already violates C89.

Andreas.

-- 
Andreas Schwab, SuSE Labs, [EMAIL PROTECTED]
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
And now for something completely different.


___
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils


Feature requestion: rm option that supports trash

2008-02-05 Thread Wilfred
It would be great if rm supported moving a file to a freedesktop.org
compliant trash folder. This woud save much heartache by giving a
'safer' option for newbies.

Thanks


___
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils


Feature request: rm option that supports trash (plain text)

2008-02-05 Thread Wilfred
(apologies for previous html email)
It would be great if rm supported moving a file to a freedesktop.org
compliant trash folder. This woud save much heartache by giving a
'safer' option for newbies.

Thanks


___
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils


Re: Feature request: rm option that supports trash (plain text)

2008-02-05 Thread Bob Proulx
Wilfred wrote:
 It would be great if rm supported moving a file to a freedesktop.org
 compliant trash folder. This woud save much heartache by giving a
 'safer' option for newbies.

This is easily done.  Simply create an alias that moves the file
instead of removing it.

  alias rm=mv --target-directory=$HOME/.Trash/

But please don't make this a system default since this behavior is not
appreciated by many.

Bob


___
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils


Re: sort --compare-version

2008-02-05 Thread James Youngman
On Feb 5, 2008 1:09 AM, Bob Proulx [EMAIL PROTECTED] wrote:
 That would mean to me that version comparison would need to be of the
 form --something-sort and would need to be in the Ordering
 options: section and not the Other options: section.  I suppose
 that this option should be called --version-sort instead in order to
 be consistent with the already existing options.

 But!  Using --version-sort conflicts with --version.  Which means my
 purpose here is simply to call this up for discussion such that some
 reasonable choice can be made since this will need to be an exception
 to the rule.  Comments?

How about something synonymous, but differently spelled?   For example
--releasenumber-sort?

James.


___
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils


Re: Feature requestion: rm option that supports trash

2008-02-05 Thread James Youngman
On Feb 5, 2008 4:29 PM, Wilfred [EMAIL PROTECTED] wrote:
 It would be great if rm supported moving a file to a freedesktop.org
 compliant trash folder. This woud save much heartache by giving a
 'safer' option for newbies.

It's not safer for them when they find themselves using some system
which lacks the feature or has it turned off, but expect the feature
to still be available...

There is a pointer to some more information (including a HOWTO) in the
coreutils FAQ at
http://www.gnu.org/software/coreutils/faq/coreutils-faq.html#I-used-rm-to-remove-a-file_002e-How-can-I-get-it-back-now_003f

James.


___
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils


Re: [PATCH] Add svg to the dircolors list

2008-02-05 Thread Jim Meyering
Matthew Woehlke [EMAIL PROTECTED] wrote:
 Mike Frysinger wrote:
 diff --git a/src/dircolors.hin b/src/dircolors.hin
...
 +.svg 01;35

 How about .svgz?

It's already there.


___
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils