Re: [EMAIL PROTECTED]: help2man and indented help text]

2004-11-20 Thread Brendan O'Dea
On Fri, Nov 19, 2004 at 11:12:39PM +0100, Alfred M. Szmidt wrote: help2man produces spurious blank newlines if you indented the --help text like this: --sort=WORDextension -X, none -U, size -S, time -t, version -v

Re: [PATCH][RFC] New 'true' program

2004-11-20 Thread Philip Rowlands
On Fri, 19 Nov 2004, Paul Eggert wrote: If small size is all you want, I can do a lot better than that: $ ls -l true -rwxr-xr-x 1 eggert eggert 10 2004-11-19 22:18 true $ ./true; echo $? 0 Can't beat this for size: $ ls -l true -rwxr-xr-x 1 prowlands users 0 Nov 20 12:59 true $ ./true;

Re: [PATCH][RFC] New 'true' program

2004-11-20 Thread James Youngman
On Fri, Nov 19, 2004 at 10:20:58PM -0800, Paul Eggert wrote: If small size is all you want, I can do a lot better than that: $ ls -l true -rwxr-xr-x 1 eggert eggert 10 2004-11-19 22:18 true $ ./true; echo $? 0 (The 10-byte implementation is left to the reader. :-) Well, there's

Re: [PATCH][RFC] New 'true' program

2004-11-20 Thread Dmitry V. Levin
On Sat, Nov 20, 2004 at 01:02:37PM +, Philip Rowlands wrote: On Fri, 19 Nov 2004, Paul Eggert wrote: If small size is all you want, I can do a lot better than that: $ ls -l true -rwxr-xr-x 1 eggert eggert 10 2004-11-19 22:18 true $ ./true; echo $? 0 Can't beat this for size:

Re: [PATCH][RFC] New 'true' program

2004-11-20 Thread Jim Meyering
Dmitry V. Levin [EMAIL PROTECTED] wrote: ... Yes :) but execve(2) returns ENOEXEC: $ env -i strace ./true execve(./true, [./true], [/* 0 vars */]) = 0 strace: exec: Exec format error If you use a more robust shell :-), you don't have to resort to using strace: $ touch true; chmod a+x

Re: [PATCH][RFC] New 'true' program

2004-11-20 Thread Andreas Schwab
[EMAIL PROTECTED] (James Youngman) writes: On Fri, Nov 19, 2004 at 10:20:58PM -0800, Paul Eggert wrote: If small size is all you want, I can do a lot better than that: $ ls -l true -rwxr-xr-x 1 eggert eggert 10 2004-11-19 22:18 true $ ./true; echo $? 0 (The 10-byte

Re: [PATCH][RFC] New 'true' program

2004-11-20 Thread Alfred M. Szmidt
(The 10-byte implementation is left to the reader. :-) But that is so big! Think what I could use 10 bytes for! /home/update/ams $ ./true; echo $? 0 /home/update/ams $ ls -l true -rwxr-xr-x 1 ams 134 0 Nov 20 18:59 true Implementation details are also left to the reader.

Re: [PATCH][RFC] New 'true' program

2004-11-20 Thread Alfred M. Szmidt
$ ls -l true -rwxr-xr-x 1 prowlands users 0 Nov 20 12:59 true $ ./true; echo $? 0 (The implementation is left to the reader. :-) Bah, someone beat me to it... :-) ___ Bug-coreutils mailing list [EMAIL PROTECTED]

Re: [EMAIL PROTECTED]: help2man and indented help text]

2004-11-20 Thread Alfred M. Szmidt
Guessing which lines are continuations and which are new lines is darned tricky, and the rules help2man uses are intended to deal with the majority of cases. I don't know how help2man does this in detail, but wouldn't it work just to see if the next line as a option (either, -s or

Re: [PATCH][RFC] New 'true' program

2004-11-20 Thread Bob Proulx
Andreas Schwab wrote: James Youngman writes: Paul Eggert wrote: If small size is all you want, I can do a lot better than that: [Paul says 10 bytes. James says zero bytes.] This is not necessarily the best one. $ time ./true 0.00user 0.00system 0m0.02selapsed 9.60%CPU $ time

Re: [PATCH][RFC] New 'true' program

2004-11-20 Thread Bob Proulx
Jim Meyering wrote: If you use a more robust shell :-), you don't have to resort to using strace: $ touch true; chmod a+x true; ./true zsh: exec format error: ./true But how does zsh run those classic V7 scripts that don't start with a #!interpreter and expect the user's shell to run

Re: [PATCH][RFC] New 'true' program

2004-11-20 Thread Alfred M. Szmidt
The current true program is an amazing-bloated thing. As you have seem from the small dicussion, that even your 3.2k is bloated. Point is that 13k is nothing, now if you really need to save 13k on a system then you should first of all not use the GNU C library; and secondly, compile

Re: [PATCH][RFC] New 'true' program

2004-11-20 Thread Paul Eggert
Felipe W Damasio [EMAIL PROTECTED] writes: No, as it doesn't support true --version or true --help. True. (No pun intended :-) So can you guys please consider this cleanup then? But that cleanup would break both true --version and true --help.

Re: [PATCH][RFC] New 'true' program

2004-11-20 Thread Felipe W Damasio
Hi Paul, Paul Eggert wrote: No, as it doesn't support true --version or true --help. True. So can you guys please consider this cleanup then? Cheers, Felipe --- coreutils-5.1.3/src/true.c.orig 2004-11-20 20:07:13.781095240 -0200 +++ coreutils-5.1.3/src/true.c

[PATCH] 'true' pt_BR translation: literacy watch

2004-11-20 Thread Felipe W Damasio
Hi, Small trivial fix for a typo on the pt_BR translation. CC'ing the last known translator and the language team. Please apply, Thanks. Felipe --- coreutils-5.1.3/po/pt_BR.po.orig2004-11-20 20:17:28.662619040 -0200 +++ coreutils-5.1.3/po/pt_BR.po

problems in install.1

2004-11-20 Thread esr
This is automatically generated email about problems in a man page for which you appear to be responsible. If you are not the right person or list, tell me and I will attempt to correct my database. See http://catb.org/~esr/doclifter/problems.html for details on how and why these patches were

Re: [PATCH][RFC] New 'true' program

2004-11-20 Thread Alfred M. Szmidt
So can you guys please consider this cleanup then? It would break international support. May one ask why you are so concerned about saving a few bytes? ___ Bug-coreutils mailing list [EMAIL PROTECTED]

Re: problems in install.1

2004-11-20 Thread Paul Eggert
I installed this patch to fix the problem: 2004-11-20 Paul Eggert [EMAIL PROTECTED] * src/install.c (usage): Avoid usage that runs afoul of Docbook translation. Problem reported by Eric S. Raymond. Index: install.c