Re: [PATCH] ping on GNU/KFreeBSD patch sent a while ago

2003-10-29 Thread Paul Eggert
Thanks for clarifying things. I installed the following patch instead of the patch I installed earlier; it uses comments along the lines that you suggested. Please let me know if it doesn't seem right to you. 2003-10-29 Paul Eggert <[EMAIL PROTECTED]> * host-os.m4 (UTILS_HOST_OS): Res

Re: coreutils / fmt: adding newline at end of paragraph

2003-10-29 Thread Karl Eichwalder
Paul Eggert <[EMAIL PROTECTED]> writes: > fmt -s does part of what you want. Yes, thanks for pointing out. > It sounds like you'd like another convenience option to fmt, an option > that causes fmt to behave as if every nonempty pair of adjacent input > lines was separated by an empty line. If

Re: Sort Bug

2003-10-29 Thread Andreas Schwab
Paul Eggert <[EMAIL PROTECTED]> writes: > [EMAIL PROTECTED] writes: > >> [EMAIL PROTECTED]>ls -l | sort -k 5 >> total 3165056 >> -rw-r--r--    1 robertd  users         678 Jul 10 15:15 rejected_tms_inbox.dmp.gz >> -rw-r--r--    1 robertd  users         840 Jul 21 13:50 161examples.dmp.gz >> -rw-r-

PATCH: memleak in users.c

2003-10-29 Thread Dennis Smit
Hello! This patch is against src/users.c from coreutils-5.0.91 Within users.c in the function: static void users (const char *filename) there is memory allocated within the read_utmp function for utmp_buf: int fail = read_utmp (filename, &n_users, &utmp_buf); which is never being freed. This

Re: Sort Bug

2003-10-29 Thread Paul Eggert
Andreas Schwab <[EMAIL PROTECTED]> writes: > > However, it's still worrisome that "sort -k 5" doesn't work as it should. > > Note that the whitespace before the number is part of the sort key: Good point. I missed that. > So if you have right aligned numbers in a field, -n gives the same resul

Re: coreutils / fmt: adding newline at end of paragraph

2003-10-29 Thread Paul Eggert
Karl Eichwalder <[EMAIL PROTECTED]> writes: > Dealing with paragraphs consisting of just one long line a feature to > add a newline at the end would be handy. At the moment I'm using this > command to turn DOS like files into files following unix conventions: > > tr -d '\15' <$f | sed 's/\([

Re: Sort Bug

2003-10-29 Thread Paul Eggert
I don't get the results that you do. What is the output of the following commands on your host? sort --version locale [EMAIL PROTECTED] writes: > [EMAIL PROTECTED]>ls -l | sort -k 5 > total 3165056 > -rw-r--r--  Â1 robertd Âusers     678 Jul 10 15:15 > rejected_tms_inbox.dmp.gz > -rw-r--

Re: df

2003-10-29 Thread Alexandre Dulaunoy
On 29/Oct/03 11:23 +0100, Frédéric Robinet wrote: > > Hello, > > after a df on my Debian, I have this: > > Venus:/recup# df -h > FilesystemSize Used Avail Use% Mounted on > /dev/sda1 15G 610M 14G 5% / > /dev/sdb1 68G 3.5G 61G 6% /var2 > Venus:/re

Re: df

2003-10-29 Thread Bob Proulx
Frédéric Robinet wrote: > after a df on my Debian, I have this: > > Venus:/recup# df -h > FilesystemSize Used Avail Use% Mounted on > /dev/sda1 15G 610M 14G 5% / > /dev/sdb1 68G 3.5G 61G 6% /var2 > Venus:/recup# > > 68G - 3.5G = 61G ??? When the f

coreutils / fmt: adding newline at end of paragraph

2003-10-29 Thread Karl Eichwalder
Dealing with paragraphs consisting of just one long line a feature to add a newline at the end would be handy. At the moment I'm using this command to turn DOS like files into files following unix conventions: tr -d '\15' <$f | sed 's/\([[:alnum:]].*\)$/\1\n/' | fmt There is probably a bette

df

2003-10-29 Thread Frédéric Robinet
Hello, after a df on my Debian, I have this: Venus:/recup# df -h FilesystemSize Used Avail Use% Mounted on /dev/sda1 15G 610M 14G 5% / /dev/sdb1 68G 3.5G 61G 6% /var2 Venus:/recup# 68G - 3.5G = 61G ??? Thank you Frederic Robinet [EMAIL PROTECT

Sort Bug

2003-10-29 Thread Robert . Dempsey
Hi There seems to be a problem with the sort command when using the -k option.  If you look at the Example 1 below you will see that I am trying to order the output by file size, yet if you look closely:         -rwxr-xr-x    1 robertd  users    1127596442 Oct 29 11:03 tms_mp2.zip         -rw-r