Re: coreutils-6.11 released

2008-04-20 Thread Bruce Korb
Jim Meyering wrote: > Coreutils version 6.11 has been released. This is a stable release. > > Since 6.10, there have been 200 change sets in coreutils proper and almost > 300 in gnulib (most of the files in coreutils/{lib,m4} come from gnulib). > * > NEWS (since coreutils-6.10) >

sort --version-sort

2008-05-17 Thread Bruce Korb
Here is the usage text from my latest --sort=version patch (attached), now that paperwork is in order. Cheers - Bruce $ ./sort --help Usage: ./sort [OPTION]... [FILE]... Write sorted concatenation of all FILE(s) to standard output. Mandatory arguments to long options are mandatory for short opti

Re: sort --sort=version

2008-08-13 Thread Bruce Korb
Simon Josefsson wrote: Bruce Korb <[EMAIL PROTECTED]> writes: Here is the usage text from my latest --sort=version patch (attached), now that paperwork is in order. What is the status of this work? I have wanted to use sort this way several times but became disappointed that there

Re: sort --version-sort

2008-08-13 Thread Bruce Korb
Jim Meyering wrote: Simon Josefsson <[EMAIL PROTECTED]> wrote: Bruce Korb <[EMAIL PROTECTED]> writes: Here is the usage text from my latest --sort=version patch (attached), now that paperwork is in order. What is the status of this work? I have wanted to use sort this way sever

Re: sort --version-sort

2008-08-14 Thread Bruce Korb
Jim Meyering wrote: >From fa38592ccbf98bacce52aec05234ffe843ac777b Mon Sep 17 00:00:00 2001 From: Bruce Korb <[EMAIL PROTECTED]> Date: Thu, 14 Aug 2008 06:24:59 -0700 Subject: [PATCH] Implement version number ordering for sort. --- ChangeLog-2008 |7 +++ doc/coreu

Re: sort --version-sort

2008-08-15 Thread Bruce Korb
Hi Jim, On Fri, Aug 15, 2008 at 1:30 AM, Jim Meyering <[EMAIL PROTECTED]> wrote: > Thanks for the follow-up! > Note that in coreutils I'm not using a ChangeLog file > per se anymore. Instead, it's generated from commit logs, > as mentioned in HACKING. Speaking of ChangeLogs, I prefer > more (so

Re: sort --version-sort

2008-08-19 Thread Bruce Korb
On Mon, Aug 18, 2008 at 11:48 PM, Jim Meyering <[EMAIL PROTECTED]> wrote: > > > Unfortunately, I pushed without first combining my > adjustment patch, so we're stuck with the separate change > and crummy Subject. > Don't tell anybody and a week or two down the line nobody will remember :)

Re: Issue with ls -v / sort -V and strverscmp() usage

2008-09-21 Thread Bruce Korb
Way back on Sep 06, you wrote: > IMHO, changing sort -V to produce more intuitively-correct results > is the way to go Well, as the author and contributor of the ``sort -V'' hack I do have to agree. Since changing glibc is not happening, I recommend using the putative verrevcmp() in sort(1) inst

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

2009-02-28 Thread Bruce Korb
Hey, I remember this! There was a long discussion about SIGCHLD vs. SIGCLD / SysVR4 vs. BSD on the Austin reflector. "implementations" are now allowed to reset the handler to SIG_DFL on exec(2), so it is "may not work" not "will not work". Anyway, the final answer is that all programs that want th

Re: New uname option to query exact OS distribution

2004-08-23 Thread Bruce Korb
"Dr. Giovanni A. Orlando" wrote: > > Markus Kuhn wrote: > > >Feature proposal for POSIX uname: > > > > > Hi, > > I like this proposal, but I prefer to maintain "-o" (OS) instead of > "-d" (Distro). > > However, when approved must be POSIX complaint. Linux-isms do not belong in POSIX.

Re: New uname option to query exact OS distribution

2004-08-23 Thread Bruce Korb
"Dr. Giovanni A. Orlando" wrote: > Hi, > > I am not agree to introduce another command, like lsb_release -a. > > uname is sufficient. > > Changing actual -d with the OS release name: FTOSX, RedHat, will solve > the matter. I do not think anyone is claiming that lsb is prohibite

Re: [lsb-discuss] Re: New uname option to query exact OS distribution

2004-08-25 Thread Bruce Korb
"Wichmann, Mats D" wrote: > > >I think the point was that there already *is* a command named lsb- > >release (try it- it's there in Fedora 2 at least). > > Yup, on RH and related (Fedora) releases it's been around since > a post-release patch to 7.3. > > >I for one don't see any reason to add a

Fwd: Defect in XRAT Utility Syntax Guidelines

2004-09-12 Thread Bruce Korb
Bruce Korb wrote: > > Geoff Clare wrote: > > > The problem with options being recognised after operands, as I see it, > > lies mainly in accidental or unexpected occurrences. For example on > > a UNIX system this is safe: > > > > rm -f a.out *.o > &

bug#8090: strerror(1) and strsignal(1)?

2011-02-20 Thread Bruce Korb
Hi, I had to go grubbing through headers to translate "11" into something comprehensible one too many times. If this is acceptable, I'll double my time investment and whip up some .texi verbiage. I believe my paperwork is in order, but I'm not convinced that this qualifies as "significant" :-D.

bug#8090: strerror(1) and strsignal(1)?

2011-02-20 Thread Bruce Korb
Hi Jim, On 02/20/11 15:20, Jim Meyering wrote: > Bruce Korb wrote: > Hi Bruce, > > [your subject mentions strsignal -- you know you can get a list > via "env kill --table", assuming you have kill from coreutils? ] > > I've had that itch many times. > He

bug#8090: strerror(1) and strsignal(1)?

2011-02-21 Thread Bruce Korb
Hi Jim, Alan, et al., On 02/20/11 16:52, Alan Curry wrote: >> remains for the itchy folks to drag something around to new places >> whenever they go to a new environment.. > > The important thing is that when you need to use this utility, you report a > bug on the program that printed a numbe

Re: POSIX requires checking all *printf return values?!?

2007-10-22 Thread Bruce Korb
On 10/19/07, Jim Meyering <[EMAIL PROTECTED]> wrote: > > Personally, I would LOVE for the stream error indicator to be reliable > > after [f]printf failures, even in the face of errors unrelated to > > fputc()-style actions. But I don't see that required in the standards, > > and this thread was s

shar produces bad shar file !!!

2007-10-25 Thread Bruce Korb
$ shar --version shar - GNU sharutils 4.2.1 Produces this, in part: # = cs-code.tbz == if test -f 'cs-code.tbz' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'cs-code.tbz' '(file already exists)' else shar: Saving cs-code.tbz (binary) $echo 'x -' extracting '

Can't seem to build coreutils-6.9 on x86-64

2008-01-23 Thread Bruce Korb
///usr/include/sys/stat.h:515: warning: C99 inline functions are not supported; using GNU89 ///usr/include/sys/stat.h:523: warning: C99 inline functions are not supported; using GNU89 In file included from ../../lib/utimecmp.c:33: ../../lib/utimens.h:2: error: conflicting types for 'futimens' ///us

Re: Can't seem to build coreutils-6.9 on x86-64

2008-01-24 Thread Bruce Korb
wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > According to Bruce Korb on 1/23/2008 10:51 AM: > | In file included from ../../lib/utimecmp.c:33: > | ../../lib/utimens.h:2: error: conflicting types for 'futimens' > | ///usr/include/sys/stat.h:370: error: previ

sort --compare-version

2008-01-31 Thread Bruce Korb
This works for me :) Either ``-V'' or ``--compare-version'' will trigger the use of strverscmp in lieu of memcmp as the comparison function. --- coreutils-6.10-ori/src/sort.c 2007-11-25 05:23:31.0 -0800 +++ coreutils-6.10/src/sort.c 2008-01-31 07:55:10.0 -0800 @@ -172,6 +172,7 @@ st

Re: sort --compare-version

2008-02-06 Thread Bruce Korb
Bob Proulx wrote: >> @@ -353,6 +354,7 @@ Other options:\n\ >> + -V, --compare-version compare embedded numbers as version numbers\n\ > > Looking at the existing options I see these: > > Ordering options: > -g, --general-numeric-sort compare according to general numerical value > -M, --m

Re: sort --compare-version

2008-02-06 Thread Bruce Korb
On Feb 6, 2008 10:59 AM, 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,

bug#11044: bug & RFE

2012-03-19 Thread Bruce Korb
Hi, The web bug: the symlink to coreutils.html from index.html is missing The RFE: I'd like to be able to have a consistent, well-understood line length from the fmt command: ‘--width=width’ Fill output lines up to width characters (default 75). fmt initially tries to make lines about 7%

bug#11044: bug & RFE

2012-03-19 Thread Bruce Korb
Hi Eric, On Mon, Mar 19, 2012 at 12:34 PM, Eric Blake wrote: > As for fmt, I'll let others chime in; it's the sort of thing where a > patch speaks louder than requests. A "patch, please" reply is completely fine. Going to the trouble of making a patch wherein the patch is not considered is not

bug#11044: bug & RFE

2012-03-19 Thread Bruce Korb
Hi Eric, On Mon, Mar 19, 2012 at 1:41 PM, Eric Blake wrote: >>   would you-all accept a patch that added a "-g" option to set the goal >>   column as opposed to deriving it by multiplying the width by 0.93 ? > > Yes - I would welcome such a patch, on the grounds of supporting a use > case current

bug#11044: bug & RFE

2012-03-19 Thread Bruce Korb
The "T" crossings and "I" dottings ... I did the icky thing anyway. diff --git a/doc/coreutils.texi b/doc/coreutils.texi index 835c245..a9dabc4 --- a/doc/coreutils.texi +++ b/doc/coreutils.texi @@ -2133,7 +2133,7 @@ These commands reformat the contents of files. a given number of characters (75

bug#11044: Fwd: [PATCH] fmt: optionalize line width goal

2012-03-29 Thread Bruce Korb
d...@gnu.org Britton Leo Kerin fs...@aurora.uaf.edu +Bruce Korb bk...@gnu.org Bruce Robertson bru...@theodolite.dyndns.org Carl Johnsonca...@cjlinux.home.org Carl Lowenstein c...@mpl.

bug#11044: bug & RFE

2012-03-30 Thread Bruce Korb
design.com Brian Youmans 3d...@gnu.org Britton Leo Kerin fs...@aurora.uaf.edu +Bruce Korb bk...@gnu.org Bruce Robertson bru...@theodolite.dyndns.org Carl Johnsonca...@cjlinux.

bug#11044: only an RFE now (was bug & RFE)

2012-04-05 Thread Bruce Korb
Hi Jim, The bug was the sym link issue on the web site, since corrected. On Thu, Apr 5, 2012 at 2:22 AM, Jim Meyering wrote: > If no one replies after a few days, it's best to presume > that your message requires more than casual feedback, and > that those inclined to provide feedback have not f

(no subject)

2003-12-16 Thread Bruce Korb
>From - Tue Dec 16 11:48:45 2003 X-Mozilla-Status: 8001 X-Mozilla-Status2: Message-ID: <[EMAIL PROTECTED]> Date: Tue, 16 Dec 2003 11:47:21 -0800 From: Bruce Korb <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] Sender: [EMAIL PROTECTED] X-Mailer: Mozilla 4.8 [en] (X11; U;

Re: --format flag

2003-12-16 Thread Bruce Korb
> No, more like the following: (warning, these are `made-up' format directives; > it'd take some careful thought to come up with proper choices): > > ls --format="%M %I %U %G %B %D %f\n" > > Implementing something like that properly > would involve a significant amount of work. > If you're int

Re: --format flag

2003-12-16 Thread Bruce Korb
Bruce Korb wrote: > > I like the verbose names. > > Are there really three different types of syntax: %w, $w{} and ${}? Oh! Thinko. I just noticed that I substituted '$' for '%' characters. No. Snprintfv is a string formatting library that uses the normal c

Re: --format flag

2003-12-16 Thread Bruce Korb
Jim Meyering wrote: > > I do not believe it would be a significant amount of work: > > If you can do it with an insignificant amount of work, that'd be great. > Have you just volunteered? ;-) My first roofing contractor was discovered to have cut through the earthquake straps holding the two ha

Re: proposed new program: getpwnam [Re: --format flag

2003-12-18 Thread Bruce Korb
dir, shell. .sp Print all of the available fields, including the name of the primary group. .TP .BR -V ", " --verbose Verbose output. .sp Print each item of information on a separate line, with a short description of each. .TP .BR \-? , " \--help" Display usage information

getpwnam

2003-12-30 Thread Bruce Korb
if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ /* This is basically a wrapper program around the getpwnam(3) and getpwuid(3) library calls. */ /* Written by Bruce Korb. */ #include #include #include #include #include #in

Re: proposed new program: getpwnam [Re: --format flag

2003-12-30 Thread Bruce Korb
Bruce Korb wrote: > > But `getpwnam --shell root' is certainly easier to type. And > > as a real program, it'd be able to produce better (including > > internationalized) diagnostics and do better error checking ... > However, in direct answer to your questio

Re: getpwnam

2003-12-30 Thread Bruce Korb
Bob Proulx wrote: > > Bruce Korb wrote: > > Attached is my effort to get getpwnam to use the coreutils > > infrastructure. These are the hand edited files: > > [I posted this to the list before so apologies to those who saw it > previously. But not getting an answe

Re: getpwnam

2004-01-01 Thread Bruce Korb
Andreas Schwab wrote: > > Bruce Korb <[EMAIL PROTECTED]> writes: > > > Hi Andreas, > > > > Andreas Schwab wrote: > >> >> getent passwd bob > >> >> bob:x:1000:1000:Bob Proulx,,,:/home/bob:/bin/bash > >> > > >

Re: getpwnam

2004-01-01 Thread Bruce Korb
ll isn't much fun working awk-ward scripts and having to remember how many colons you gotta skip over. This is too much easier: $ getpwnam -A bkorb x 500 dev 501 Bruce Korb /home/bkorb /bin/ksh $ getpwnam -VA user name:bkorb password: 'x' (encrypted) user id: 500 group

Re: coreutils-5.1.3 released: bug-fix-only, candidate for stable5.2.0

2004-02-11 Thread Bruce Korb
Paul Eggert wrote: > Autoconf is littered with code like this: > > ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' > ac_i=`echo "$ac_i" | sed "$ac_script"` > > This passes an argument with two trailing slashes to 'sed'. > Does it misbehave too, under OSF/Tru64 5.1? It cannot possibly and if it d