check-AUTHORS

2009-05-01 Thread Andreas Schwab
What's the point in using a French locale in check-AUTHORS? Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 And now for something completely different. ___ Bug-coreutils

Re: check-AUTHORS

2009-05-01 Thread Andreas Schwab
Eric Blake e...@byu.net writes: A previous version used an English locale, but for some reason, translations in the English locale are not as well-maintained, and gnulib already provides the free checks for a French locale. Except that it now always fails. Andreas. -- Andreas Schwab, sch

Re: Arbitrary hunk sizes for patch

2009-04-22 Thread Andreas Schwab
Alfie al...@h4c.kr writes: When modifying patch files, i'm getting a bit sick of counting lines just so I can modify hunk sizes to correctly apply a patch. FWIW, Emacs's diff-mode can do that for you. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53

Re: cp(1) fails to copy file from /proc

2009-04-19 Thread Andreas Schwab
Jim Meyering j...@meyering.net writes: Sure, but that's not the question. The question is whether we can assume short-read-on-regular-file implies EOF. I think you can look at it as if you are reading a growing file. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint

Re: possible patch for coreutils-7.2 tests/mv/i-3 test failure

2009-04-11 Thread Andreas Schwab
. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG 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

Re: touch gets stuck for named pipes

2009-04-09 Thread Andreas Schwab
only requires write access. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG 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

Re: RFC: changing the + in ls -l output to be . or +

2009-04-07 Thread Andreas Schwab
Pádraig Brady p...@draigbrady.com writes: @@ -8045,6 +8055,15 @@ ownership of installed files or directories to @var{owner}. The default is @code{root}. @var{owner} may be either a user name or a numeric user ID. +...@itemx --preserve-context s/@itemx/@item/ Andreas. -- Andreas

Re: git version and automake 1.10b question

2009-04-01 Thread Andreas Schwab
hggdh hgg...@gmail.com writes: Where is automake 1.10b to be found? You'll have to check out the next branch to get 1.10b (or rather 1.10c). Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 And now for something

Re: Join tab delimiter

2009-03-28 Thread Andreas Schwab
Eric Blake e...@byu.net writes: Or there's even this more portable alternative (although it costs a fork): $ join -t `printf '\t'` file1 file2 This requires more quotes, so that word splitting won't gobble the tab. $ join -t `printf '\t'` file1 file2 Andreas. -- Andreas Schwab, sch

Re: coreutils 7.1.49-ebb9 FTB sparc/Solaris, AIX

2009-03-20 Thread Andreas Schwab
if a C89 compiler chokes on this. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG 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

[PATCH] Update my email address

2009-03-03 Thread Andreas Schwab
From 201523a31265b85a5a3bd0ca488c687653292d52 Mon Sep 17 00:00:00 2001 From: Andreas Schwab sch...@linux-m68k.org Date: Tue, 3 Mar 2009 18:12:25 +0100 Subject: [PATCH] Update my email address * THANKS: Update my email address. --- THANKS |2 +- 1 files changed, 1 insertions(+), 1 deletions

Re: sort -g (generic numeric) is working only for the first key

2009-03-01 Thread Andreas Schwab
) you need to pass a literal TAB as the argument to -t. With bash you can do that with -t $'\t'. Andreas. -- Andreas Schwab, sch...@linux-m68k.org Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 And now for something completely different

Re: [PATCH] install: add -C option to install file only when necessary

2009-02-17 Thread Andreas Schwab
) { const mode_t mask = ~S_IRWXUGO 0xFFF; return input mask; } Perhaps ~S_IFMT instead of 0xFFF? Andreas. -- Andreas Schwab, SuSE Labs, sch...@suse.de SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5

Re: sort b option in pos2 has strange effect

2009-02-03 Thread Andreas Schwab
. -- Andreas Schwab, SuSE Labs, sch...@suse.de 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

Re: --min-size option for du (patch)

2009-01-15 Thread Andreas Schwab
Paul Chambers b...@bod.org writes: My goal here is to quickly find what's consuming the disk space, and in my experience, it's not usually huge individual files. Have you tried kdirstat? Andreas. -- Andreas Schwab, SuSE Labs, sch...@suse.de SuSE Linux Products GmbH, Maxfeldstraße 5, 90409

Re: Output badformat of df -h df -T

2009-01-14 Thread Andreas Schwab
for exactly this purpose. Without it you can get wildly different output on various systems anyway. Andreas. -- Andreas Schwab, SuSE Labs, sch...@suse.de 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

Re: Output badformat of df -h df -T

2009-01-14 Thread Andreas Schwab
that would change the output depending on whether you pipe it through a pager, for example. Andreas. -- Andreas Schwab, SuSE Labs, sch...@suse.de 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

Re: date gives error on valid input

2008-12-25 Thread Andreas Schwab
Sun Oct 19 02:59:59 2008 UTC = Sat Oct 18 23:59:59 2008 BRT isdst=0 America/Sao_Paulo Sun Oct 19 03:00:00 2008 UTC = Sun Oct 19 01:00:00 2008 BRST isdst=1 Andreas. -- Andreas Schwab, SuSE Labs, sch...@suse.de SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany PGP key

Re: [PATCH] stty doc enhancements

2008-12-23 Thread Andreas Schwab
. n...@acronym{posix}. May be -negated. +negated. (Note no ouclc is currently implemented.) See above. Andreas. -- Andreas Schwab, SuSE Labs, sch...@suse.de SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276

Re: cp/mv: add -n option to not overwrite target (Ubuntu bug #229182)

2008-12-22 Thread Andreas Schwab
should not matter, unless the options are documented as mutually-exclusive and such an option is documented to override any incompatible options preceding it. Andreas. -- Andreas Schwab, SuSE Labs, sch...@suse.de SuSE Linux Products GmbH, Maxfeldstraße 5

Re: Direct-hit help on specific commands with Info

2008-12-20 Thread Andreas Schwab
) to the info dir file on installation. Andreas. -- Andreas Schwab, SuSE Labs, sch...@suse.de 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

Re: du --files-from feature request

2008-12-01 Thread Andreas Schwab
{number-separator tab} is not a proper use of @var. 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

Re: [bug #24974] Document that comm's option -1, -2 and -3 can be combined

2008-12-01 Thread Andreas Schwab
sort -u file1 file2 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

Re: Something strange with date +%s and timezones

2008-11-28 Thread Andreas Schwab
as the base for the output. 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

Re: [PATCH]: chmod - do inform about using different mode than requested with SGID/SUID/sticky bits without permissions to change them

2008-11-20 Thread Andreas Schwab
Eric Blake [EMAIL PROTECTED] writes: Would a double --verbose make sense? --verbose=2 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

Re: [PATCH] install: new option: --strip-program to specify the program used to strip binaries

2008-10-26 Thread Andreas Schwab
ykerb [EMAIL PROTECTED] writes: Could you explain to me what is meant by strip binaries? strip is the program that removes (strips) the symbol table from a binary. It's a technical term, so unlikely to be directly translatable. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE

Re: id showing different results

2008-10-20 Thread Andreas Schwab
in the login process). 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

Re: [PATCH] Replacement for the sigs_to_ignore hack in timeout.c

2008-10-11 Thread Andreas Schwab
Giuseppe Scrivano [EMAIL PROTECTED] writes: + memset (sa, 0, sizeof sa); + sigemptyset (sa.sa_mask); I don't think you need the memset. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany PGP key fingerprint = 58CA

Re: [PATCH] Replacement for the sigs_to_ignore hack in timeout.c

2008-10-11 Thread Andreas Schwab
Giuseppe Scrivano [EMAIL PROTECTED] writes: Andreas Schwab [EMAIL PROTECTED] writes: + memset (sa, 0, sizeof sa); + sigemptyset (sa.sa_mask); I don't think you need the memset. and how reset the struct without a memset or using sa = {0,} as Pádraig suggested? You only need

grep: version.c: No such file or directory

2008-10-09 Thread Andreas Schwab
yes.c exit 1 || : grep: version.c: No such file or directory grep: version.h: No such file or directory 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

Re: grep: version.c: No such file or directory

2008-10-09 Thread Andreas Schwab
Jim Meyering [EMAIL PROTECTED] writes: However, it doesn't affect the exit status of that command, It does. It will always be non-zero, thus useless. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany PGP key

Re: cp --preserve=mode not right on rh4 and nfs

2008-10-04 Thread Andreas Schwab
NFS bug: http://bugzilla.kernel.org/show_bug.cgi?id=6127 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

Re: rm: don't waste time preprocessing on tmpfs or nfs

2008-10-01 Thread Andreas Schwab
) +{ +case S_MAGIC_TMPFS: +case S_MAGIC_NFS: + return true; Does this always do correct sign extension on the f_type constants? Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany PGP key fingerprint = 58CA 54C7

Re: Patch to fix data loss with `tail -F' (bug 6612)

2008-09-29 Thread Andreas Schwab
growing? 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

Re: rm -rf: avoid ext3/4 O(N^2) performance hit, further librarify remove.c

2008-09-26 Thread Andreas Schwab
Jim Meyering [EMAIL PROTECTED] writes: If it takes more than 1 minute, that's deemed a failure. This is a bad assumption. There are many factors that influence real execution time, independent on the cpu time. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH

Re: mv missing destination operand message

2008-09-25 Thread Andreas Schwab
. -- 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

Re: Bug in command test

2008-09-18 Thread Andreas Schwab
link. 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

Re: The documentation of date mark that seconds can be from 0-60

2008-09-11 Thread Andreas Schwab
http://en.wikipedia.org/wiki/Leap_second 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

Re: [PATCH] df: new option: --total (-c) to produce grand total (in the same way as du)

2008-09-03 Thread Andreas Schwab
) +{ + if (LOG_EQ (*dest_neg, src_neg)) Since both arguments are already bool I see no need for LOG_EQ (it's the only use anyway). 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

Re: [PATCH] df: new option: --total (-c) to produce grand total (in the same way as du)

2008-09-03 Thread Andreas Schwab
) value inside. RTFS. It _is_ guaranteed. Even if bool != C99 _Bool. 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

Re: [PATCH] df: new option: --total (-c) to produce grand total (in the same way as du)

2008-09-03 Thread Andreas Schwab
Jim Meyering [EMAIL PROTECTED] writes: Andreas Schwab [EMAIL PROTECTED] wrote: Kamil Dudka [EMAIL PROTECTED] writes: On Wednesday 03 September 2008 11:03:22 you wrote: Kamil Dudka [EMAIL PROTECTED] writes: Since both arguments are already bool I see no need for LOG_EQ (it's the only use

Re: [PATCH] df: new option: --total (-c) to produce grand total (in the same way as du)

2008-09-03 Thread Andreas Schwab
Jim Meyering [EMAIL PROTECTED] writes: I presume you're referring to uses of bool variables like these (there are many more): I'm referring to the use of the very same variables that are used in the patch. If those are not pure boolean then you have a bug anyway. Andreas. -- Andreas Schwab

Re: [PATCH] df: new option: --total (-c) to produce grand total (in the same way as du)

2008-09-03 Thread Andreas Schwab
Jim Meyering [EMAIL PROTECTED] writes: Andreas Schwab [EMAIL PROTECTED] wrote: Jim Meyering [EMAIL PROTECTED] writes: I presume you're referring to uses of bool variables like these (there are many more): I'm referring to the use of the very same variables that are used in the patch

Re: [PATCH] df: new option: --total (-c) to produce grand total (in the same way as du)

2008-09-02 Thread Andreas Schwab
variables are always initialized. 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

Re: [PATCH] df: new option: --total (-c) to produce grand total (in the same way as du)

2008-09-02 Thread Andreas Schwab
Kamil Dudka [EMAIL PROTECTED] writes: On Tuesday 02 September 2008 10:55:05 you wrote: fsu = *force_fsu; I was not sure, if all supported compiler take this. Structure assignment is part of C since even before KR2. http://c-faq.com/struct/firstclass.html Andreas. -- Andreas Schwab

Re: [PATCH] df: new option: --total (-c) to produce grand total (in the same way as du)

2008-09-02 Thread Andreas Schwab
Jim Meyering [EMAIL PROTECTED] writes: Kamil Dudka [EMAIL PROTECTED] wrote: +#define LOG_EQ(a,b) (((a)(b))||(!(a)!(b))) This can be written more simply as !((a) ^ (b)) Only if the operands are already boolean, and then you can just use a == b. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL

Re: [PATCH] df: new option: --total (-c) to produce grand total (in the same way as du)

2008-09-02 Thread Andreas Schwab
happen to have an nfs mount from a host named total. 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 #24182] (Wishlist) stty -a Behavior Documentation

2008-09-01 Thread Andreas Schwab
Follow-up Comment #1, bug #24182 (project coreutils): $ stty --help [...] Handle the tty line connected to standard input. [...] ___ Reply to this item at: http://savannah.gnu.org/bugs/?24182

Re: Surprising bug in sort

2008-08-18 Thread Andreas Schwab
. This question comes up frequently. Is there some wording we can use to make it more obvious that omitting POS2 implies end of line, while still being brief enough for --help output? ...end it at POS2 (or the end of the line, if omitted)? ...end it at POS2 (default end of line) Andreas. -- Andreas

Re: moot and unposixy error message

2008-08-18 Thread Andreas Schwab
not produce an error when '-j' plus '-N' is longer than the file, so the above section can be removed. This is a good point, however. But end_offset should then be set to (uintmax_t)-1 on overflow. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5

Re: [PATCH] mktemp, sort, tac: don't use undefined after mkstemp failure

2008-08-13 Thread Andreas Schwab
(_(cannot create temporary file in), temp_dir); The actual error message is constructed by putting a colon between the string and the file argument. Since the string does not represent a complete sentence this is not i18n friendly. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE

Re: [PATCH 1/2] Support arbitrarily-long numbers with GNU MP.

2008-07-30 Thread Andreas Schwab
of the number to be factored. (usage, main): New options --use-mp and --nouse-mp. What do you think of --mp and --no-mp instead? How about --bignum instead? IMHO this is more descriptive. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409

Re: finding misplaced changes with git

2008-07-22 Thread Andreas Schwab
. If the commit is still in the reflog then git fsck wouldn't consider it dangling anyway (without --no-reflogs). 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

mknod --help fix

2008-07-18 Thread Andreas Schwab
too.\n\ ), stdout); + fputs(_(\ + -Z, --context=CTX set the SELinux security context of NAME to CTX\n\ +), stdout); fputs (_(\ -m, --mode=MODE set file permission bits to MODE, not a=rw - umask\n\ ), stdout); -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products

Re: [PATCH] avoid -Wsign-compare warnings

2008-07-11 Thread Andreas Schwab
-conversion still warns for this case). 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

Re: is hard-coding the group name, tty, portable enough for who -a?

2008-07-11 Thread Andreas Schwab
to set the expected group? The default could just be tty since it's the right one for the vast majority of systems, but allows to override it if necessary. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany PGP key

Re: is hard-coding the group name, tty, portable enough for who -a?

2008-07-11 Thread Andreas Schwab
Jim Meyering [EMAIL PROTECTED] writes: What about those older SYSV-derived systems where stat --format %G $(tty) prints the primary group of the user running who? I wonder how they get the functionaly of write. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products

Re: tee logs no output if stdout is closed

2008-07-04 Thread Andreas Schwab
Phillip Susi [EMAIL PROTECTED] writes: Andreas Schwab wrote: It would match the behaviour as defined by ASYNCHRONOUS EVENTS in 1.11 Utility Description Defaults. Could you quote that section or give me a url to somewhere I can see it myself? I have no idea what it says nor where to look

Re: wc -m count is wrong

2008-07-04 Thread Andreas Schwab
Hossain, Syed [EMAIL PROTECTED] writes: I can understand now why wc increasing it by one It does not do that. It just does not ignore any character. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany PGP key

Re: dd (coreutils 6.10)

2008-07-04 Thread Andreas Schwab
Jon Grant [EMAIL PROTECTED] writes: that's interesting, as the error log made it look like it was dd that was looping. Which error log? Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany PGP key fingerprint = 58CA 54C7

Re: du: cache directory size

2008-07-03 Thread Andreas Schwab
atime (or mtime perhaps) with the time of the scan. That could possibly save some time during the scan. Just because a directory is unchanged does not mean that all files and subdirectories beneath it are unchanged as well. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux

Re: tee logs no output if stdout is closed

2008-07-01 Thread Andreas Schwab
Phillip Susi [EMAIL PROTECTED] writes: Andreas Schwab wrote: It seems to me that tee should have a SIGPIPE handler which closes the broken fd and stops trying to write to it, and if ALL outputs have been closed, exit. That would not be compatible with POSIX. In what way? It would match

Re: tee logs no output if stdout is closed

2008-06-30 Thread Andreas Schwab
reading, and exits immediately. The tee process then receives a SIGPIPE when trying to write to the broken pipe. That will kill it. 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

Re: AIX 5.3 df coreutils reportes wrong size - 2.4T limit ?

2008-06-30 Thread Andreas Schwab
Jodok Ole Muellers [EMAIL PROTECTED] writes: Looks like find has also got a similar but different problem on AIX 5.3: find is not part of coreutils. It belongs to findutils. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg

Re: tee logs no output if stdout is closed

2008-06-30 Thread Andreas Schwab
' in the pipe. 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

Re: tee logs no output if stdout is closed

2008-06-30 Thread Andreas Schwab
Bruno Haible [EMAIL PROTECTED] writes: How about adding an option '-p' to 'tee', that causes it to ignore SIGPIPE while writing to stdout? Just add a trap '' SIGPIPE before starting tee. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5

Re: tee logs no output if stdout is closed

2008-06-30 Thread Andreas Schwab
Phillip Susi [EMAIL PROTECTED] writes: Andreas Schwab wrote: Bruno Haible [EMAIL PROTECTED] writes: How about adding an option '-p' to 'tee', that causes it to ignore SIGPIPE while writing to stdout? Just add a trap '' SIGPIPE before starting tee. Wouldn't that only trap SIGPIPE sent

Re: dd (coreutils 6.10)

2008-06-29 Thread Andreas Schwab
. Any repetition is controlled by the device driver in the kernel. 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

Re: who(1) exit status

2008-06-23 Thread Andreas Schwab
versions are actually void. */ UTMP_NAME_FUNCTION (file); When using the utmpname/setutent/getutmp family of functions there really is no way to check for errors reading the file, since utmpname does not actually try to open it, and setutent has no return value. Andreas. -- Andreas

Re: who(1) exit status

2008-06-23 Thread Andreas Schwab
of an error on no output seems reasonable to me. You don't have to be logged in to be able to (remotely) execute commands. 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

Re: cp -u

2008-06-14 Thread Andreas Schwab
more options. 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

Re: Problem with Date Command

2008-06-05 Thread Andreas Schwab
. -- 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

Re: touch and utimens troubles on new/old software combinations

2008-06-02 Thread Andreas Schwab
== ENOSYS. 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

Re: touch and utimens troubles on new/old software combinations

2008-06-02 Thread Andreas Schwab
Daniel Jacobowitz [EMAIL PROTECTED] writes: Mike, I thought the *at wrappers fell back to emulation if the syscalls were missing. Is that impossible for utimensat? Emulating utimensat is rather difficult, due to the UTIME_NOW/UTIME_OMIT feature. Andreas. -- Andreas Schwab, SuSE Labs

Re: Feature request - base64 Filename Safe Alphabet

2008-04-29 Thread Andreas Schwab
character and the null byte. That is actually a Unix property. For a portable POSIX file name the alphabet is much more restricted: [A-Za-z0-9_.-], without leading hyphen. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg

Re: avoid mkdir/selinux failure when mknod is a shell built-in

2008-04-16 Thread Andreas Schwab
. -- 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

Re: Bug#474436: coreutils: ls --time-style=locale no longer works

2008-04-06 Thread Andreas Schwab
Jim Meyering [EMAIL PROTECTED] writes: Odd. I see that with LC_ALL=en, it *does* work: LC_ALL=en ./ls --time-style=locale -dl / drwxr-xr-x 42 root root 1024 Mar 13 12:02 / Because the en locale does not exist. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux

Re: configure fails on Maemo/OS2008 (sed: no previous regexp)

2008-03-22 Thread Andreas Schwab
that they cannot be preceded by addresses, `!', or `;', and that each command must be followed immediately by a newline, without any intervening blanks or semicolons. The closing bracket must be alone on a line, other than white space preceding or following it. Andreas. -- Andreas

Re: sha512_process_bytes doesn't like odd sized buffers

2008-03-15 Thread Andreas Schwab
; + sha256_process_block (ctx-buffer, ctx-buflen, ctx); I hope you are aware of that a 63 is different from a ~63? 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

Re: [PATCH] Fix bug when attempting to echo special sequences literally.

2008-03-13 Thread Andreas Schwab
Adam Rosenwald [EMAIL PROTECTED] writes: Try using echo to output the string '-e' or '-E' or '-n' literally. Use printf instead. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany PGP key fingerprint = 58CA 54C7 6D53

Re: [ADD TO FAQ] : cut : using space as input delimiter

2008-03-12 Thread Andreas Schwab
space is significant. 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

Re: problem with command sort after uniq -c

2008-03-10 Thread Andreas Schwab
the key to match a number. 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

Re: Bug#469525: coreutils: [wc] RFC: Add option --no-filename

2008-03-06 Thread Andreas Schwab
Pádraig Brady [EMAIL PROTECTED] writes: I wonder could we go one step further and suppress the filename also like grep does when passed a single file? That would require adding an option to be comptible with POSIX. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products

Re: date +%s ignores TZ

2008-03-01 Thread Andreas Schwab
Philip Rowlands [EMAIL PROTECTED] writes: I might be misunderstanding the problem, but it seems easy enough to do this calling date only once: $ date +%T | awk -F: '{ print $1 * 3600 + $2 * 60 + $3 }' 67652 This will fail during the day after a DST transition. Andreas. -- Andreas Schwab

Re: date +%s ignores TZ

2008-02-29 Thread Andreas Schwab
which obviously is a constant at any given time throughout the world. but is there actually a way to do $ TZ=anything date +%s -d `date '+%Y-%m-%d %H:%M:%S'`; without invoking date twice? Please explain what you are trying to achieve. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL

Re: argve0, psfool

2008-02-25 Thread Andreas Schwab
Pádraig Brady [EMAIL PROTECTED] writes: Andreas Schwab wrote: That should of course be: bash -c 'exec -a $0 $@' fake real arg1 arg2 I think that should be? bash -c 'exec -a $@' fake real arg1 arg2 No, $0 expands to fake and $* expands to real arg1 arg2. Andreas. -- Andreas Schwab

Re: nohup breaks logname and tty commands

2008-02-22 Thread Andreas Schwab
| head -n1 logname (GNU coreutils) 6.10 Perhaps an strace would shed some light? That appears to be a bug in glibc in that getlogin uses the terminal connected to stdin instead of the controlling terminal. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH

Re: du reports different results for . (proposed patch)

2008-02-21 Thread Andreas Schwab
seem like a reasonable outcome. Perhaps we should reset the list of encountered hard links with every file argument? 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

Re: du reports different results for . (proposed patch)

2008-02-21 Thread Andreas Schwab
That goes too far. What I would naïvely expect is that du -s a b and du -s a; du -s b produces the same output. 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

Re: Feature Request: add wildcards and recursive to ln

2008-02-20 Thread Andreas Schwab
Vincent J. Schiavoni [EMAIL PROTECTED] writes: work-around used such as for example for i in /usr/local/lib/*; do ln -s $i /usr/lib/ ; done. What's wrong with ln -s /usr/local/lib/* /usr/lib? Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5

Re: Problems building coreutils HEAD against gnulib HEAD

2008-02-19 Thread Andreas Schwab
in gnulib/ or gl/ is removed. +find -L m4 lib build-aux -depth -lname '*' -delete /dev/null 21 Why do you need -depth? Also, find 4.1 does not support -L nor -delete. A more portable predicate is -xtype l. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH

Re: Problems building coreutils HEAD against gnulib HEAD

2008-02-19 Thread Andreas Schwab
Eric Blake [EMAIL PROTECTED] writes: According to Andreas Schwab on 2/19/2008 8:37 AM: | Jim Meyering [EMAIL PROTECTED] writes: | | +# Remove dangling symlinks in gnulib-populated directories. | +# This depends on GNU find, and a relatively recent version at that. | +# Ignore any failure

Re: sort --compare-version

2008-02-18 Thread Andreas Schwab
Jim Meyering [EMAIL PROTECTED] writes: Do you feel like adding a few tests (tests/sort/Test.pm) to exercise the new feature, and adding to coreutils.texi and NEWS? Here is an updated patch. Andreas. 2008-02-18 Andreas Schwab [EMAIL PROTECTED] Add --sort option. * src

Re: sort --compare-version

2008-02-08 Thread Andreas Schwab
Jim Meyering [EMAIL PROTECTED] writes: Andreas Schwab [EMAIL PROTECTED] wrote: Bruce Korb [EMAIL PROTECTED] writes: Yep. That's the reason for the compare- prefix. I didn't like ``--compare-version-sort'' for some sort of reason, too. Ultimately, someone pick another name if compare

Re: sort --compare-version

2008-02-06 Thread Andreas Schwab
in {general-numeric,month,numeric,random,version}? 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

Re: printf failure on HP/UX 10.20 with 6.9.92

2008-02-05 Thread Andreas Schwab
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

Re: tac --separator

2008-02-04 Thread Andreas Schwab
. -- 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

Re: Need help understanding sort tests

2008-02-01 Thread Andreas Schwab
are inclusive. 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

Re: [PATCH] Use strdup in dd to avoid changing argv elements

2008-01-28 Thread Andreas Schwab
standard explicitly requires that the argv array contents are modifiable in the executed process. 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

Re: [PATCH] Use strdup in dd to avoid changing argv elements

2008-01-28 Thread Andreas Schwab
. Except that the point has nothing to do with how the arguments are passed to the executed process. 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

<    1   2   3   4   5   6   >