Re: one last snapshot before test release

2007-02-22 Thread Paul Eggert
Matthew Woehlke [EMAIL PROTECTED] writes: Hooboy. sort-compress failed spectacularly on OSF. From the errors (lots of task_create() failed for pid 12044: maxuprc (=64) exceeded for uid uid), it looks like it is blowing some process limit (looks like the limit is 64?). Does the test actually

Re: one last snapshot before test release

2007-02-22 Thread Matthew Woehlke
Paul Eggert wrote: Matthew Woehlke [EMAIL PROTECTED] writes: Hooboy. sort-compress failed spectacularly on OSF. From the errors (lots of task_create() failed for pid 12044: maxuprc (=64) exceeded for uid uid), it looks like it is blowing some process limit (looks like the limit is 64?). Does

Re: Hi

2007-02-22 Thread James Youngman
On 1/31/07, V.Nadeem Ahmad [EMAIL PROTECTED] wrote: Hi, I would like to kow how can i sort a colomn in a file without changing other colomn. when I sort i dont want to move my other colomns. There are lots of ways to do it, but none using just one single tool. Basically you will need to write

enhancement bug for ls...

2007-02-22 Thread Rajeswar
Hi All, Currently IF you want to list only the directories ( as a ls command ) or only interested in the directory structure ( tree ), There is no option in ls. ls has to be enhanced with some e flag so that the following scenarios are supported. 1. This listing has to be based on file

Problem with uniq command

2007-02-22 Thread Miroslaw Kozielski
Hello, I think I found a bug in 'uniq' command. I have a text file: bla.txt / [EMAIL PROTECTED]:~/tmp$ cat bla2 ba111. ba112. bs112. bm123. ba123. ba111. /After use option - c ( recede each output line with a count of the number of times the line occurred in the input) I receive wrong

Re: install.c: please set unlink_dest_before_opening=false

2007-02-22 Thread Robert Millan [ackstorm]
On Tue, Feb 20, 2007 at 03:19:57PM -0800, Paul Eggert wrote: Robert Millan [ackstorm] [EMAIL PROTECTED] writes: I haven't checked POSIX though, but if this is actualy a requirement maybe a POSIX_ME_HARDER hack would make sense here? POSIX makes no requirement. Other implementations are

Re: cp should look for destination file operand BEFORE wildcard expansion

2007-02-22 Thread Anshul Nigham
Thanks everyone for the clarifications. Anshul On 2/20/07, Andreas Schwab [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] (Eric Blake) writes: However, you can use other shell features, such as aliases or shell functions, to enable other features of cp by default when invoking cp in an

Re: install.c: please set unlink_dest_before_opening=false

2007-02-22 Thread Robert Millan [ackstorm]
On Wed, Feb 21, 2007 at 04:15:45PM -0800, Paul Eggert wrote: Robert Millan [ackstorm] [EMAIL PROTECTED] writes: On Tue, Feb 20, 2007 at 03:19:57PM -0800, Paul Eggert wrote: Robert Millan [ackstorm] [EMAIL PROTECTED] writes: I haven't checked POSIX though, but if this is actualy a

RE: Sort

2007-02-22 Thread mehran.shokouhi
Thanks a lot Matthew, LC_ALL was not set on my computer, I set it to 'c', and now it is working. BR, -- Mehran -Original Message- From: ext Matthew Woehlke [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 21, 2007 7:41 PM To: Shokouhi Mehran (Nokia-NET/Tehran) Subject: RE: Sort

Re: [PATCH] Support in du for showing both apparent and on-disk size and the ratio between them

2007-02-22 Thread James Youngman
On 1/31/07, Luca Barbieri [EMAIL PROTECTED] wrote: This patch allows to display simultaneously both the disk usage and apparent size and also allows to display the completeness (or nonsparsity) of file, which is the ratio of the disk usage to the apparent size. For what it's worth,

Re: Problem with uniq command

2007-02-22 Thread Philip Rowlands
On Wed, 21 Feb 2007, Miroslaw Kozielski wrote: I think I found a bug in 'uniq' command. I have a text file: bla.txt / [EMAIL PROTECTED]:~/tmp$ cat bla2 ba111. ba112. bs112. bm123. ba123. ba111. /After use option - c ( recede each output line with a count of the number of times the line

Re: Problem with uniq command

2007-02-22 Thread Andreas Schwab
Miroslaw Kozielski [EMAIL PROTECTED] writes: /I think that output should be: /*2 ba111*. 1 ba112. 1 bs112. 1 bm123. 1 ba123. / How can I resolve this problem? From the coreutils docs: The input need not be sorted, but repeated input lines are detected only if

Re: rm

2007-02-22 Thread Andreas Schwab
Frederick Alexander Thomssen [EMAIL PROTECTED] writes: Frederick Thomssen FThomssen at FreddyAT.net writes: hi, there is something unlogical in rm.. you cannot delete '.' or '..' - that's ok, but you can delete $PWD (or ../[current directory]). I just wanted to tell you if you did not

Re: enhancement bug for ls...

2007-02-22 Thread Philip Rowlands
On Wed, 21 Feb 2007, Rajeswar wrote: Currently IF you want to list only the directories ( as a ls command ) or only interested in the directory structure ( tree ), There is no option in ls. ls has to be enhanced with some e flag so that the following scenarios are supported. 1. This

Re: enhancement bug for ls...

2007-02-22 Thread James Youngman
On 2/21/07, Rajeswar [EMAIL PROTECTED] wrote: Hi All, Currently IF you want to list only the directories ( as a ls command ) or only interested in the directory structure ( tree ), [...] This has been a requirement for a very long time but still not attended for the past 30 years. That's

Re: (no subject)

2007-02-22 Thread James Youngman
(coreutils mailing list moved to BCC) On 2/6/07, Dima Abramian [EMAIL PROTECTED] wrote: My computer has deteriorated: /dev/sda2: UNEXPECTED INCONSISTENCY: RUN fsck MANUALY. (i.e., without -a or -p options) Please help, thanks Sorry, we don't do general support of Linux here on

Re: sort and characters

2007-02-22 Thread James Youngman
On 2/13/07, Gabrielli Jean-Paul [EMAIL PROTECTED] wrote: Why don't I have all listed before in the sort output on all hosts ? Probably because the locale settings differ. James. ___ Bug-coreutils mailing list Bug-coreutils@gnu.org

coreutils vs. an LD_PRELOAD-spawned thread [Re: env

2007-02-22 Thread Jim Meyering
Harvey Eneman [EMAIL PROTECTED] wrote: Which functions are those? I was referring to getenv(3), putenv(3), unsetenv(3) and setenv(3) functions. In my particular case, the LD_PRELOAD shared object starts a thread which will call getenv() but consider what could happen if the thread called

[bug #18927] feature request: user defined format for ls output

2007-02-22 Thread James Youngman
Follow-up Comment #2, bug #18927 (project coreutils): GNU find doesn't have any way of printing foo - bar when foo is a symbolic link to bar, though. ___ Reply to this item at: http://savannah.gnu.org/bugs/?18927

Re: rm

2007-02-22 Thread Frederick Alexander Thomssen
On Thursday 22 February 2007 19:00:31 Andreas Schwab wrote: Frederick Alexander Thomssen [EMAIL PROTECTED] writes: Frederick Thomssen FThomssen at FreddyAT.net writes: hi, there is something unlogical in rm.. you cannot delete '.' or '..' - that's ok, but you can delete $PWD (or

Re: enhancement bug for ls...

2007-02-22 Thread Alfred M. Szmidt
That's probably because you can do all these things with find(1). In any case it's very unlikely that any more single-letter options will be added to the coreutils ls because of the likelihood of some conflict with other ls implementations. Not to mention that all single-letter

Re: one last snapshot before test release

2007-02-22 Thread Jim Meyering
Matthew Woehlke [EMAIL PROTECTED] wrote: Paul Eggert wrote: Matthew Woehlke [EMAIL PROTECTED] writes: Hooboy. sort-compress failed spectacularly on OSF. From the errors (lots of task_create() failed for pid 12044: maxuprc (=64) exceeded for uid uid), it looks like it is blowing some process

Re: one last snapshot before test release

2007-02-22 Thread Matthew Woehlke
Jim Meyering wrote: Matthew Woehlke [EMAIL PROTECTED] wrote: Paul Eggert wrote: Matthew Woehlke [EMAIL PROTECTED] writes: Hooboy. sort-compress failed spectacularly on OSF. From the errors (lots of task_create() failed for pid 12044: maxuprc (=64) exceeded for uid uid), it looks like it is

Re: install.c: please set unlink_dest_before_opening=false

2007-02-22 Thread Paul Eggert
Robert Millan [ackstorm] [EMAIL PROTECTED] writes: How about attempting to write it, and if that fails then unlink ? (preferably checking the errno code for this condition) That doesn't sound right; it'd mean the result of installing (say) /bin/bash would differ depending on whether someone

make check failure with sort-compress on OSF and Linux

2007-02-22 Thread Paul Eggert
Matthew Woehlke [EMAIL PROTECTED] writes: It does actually fail. In fact, from the mountains of diff output it looks like 'sort' *may* be completely failing to output anything, or at least failing to output large chunks of what it is supposed to. I can re-run with VERBOSE, but it's going to

Re: gnulib getcwd patch needed for Solaris 10 getcwd

2007-02-22 Thread Jim Meyering
Albert Chin [EMAIL PROTECTED] wrote: On Thu, Feb 22, 2007 at 01:22:31AM +0100, Jim Meyering wrote: Paul Eggert [EMAIL PROTECTED] wrote: Jim Meyering [EMAIL PROTECTED] writes: Why does your config.h define HAVE_PARTLY_WORKING_GETCWD when using Sun C 5.8? Sorry, I don't know offhand.

Re: make check failure with sort-compress on OSF and Linux

2007-02-22 Thread Jim Meyering
Paul Eggert [EMAIL PROTECTED] wrote: Matthew Woehlke [EMAIL PROTECTED] writes: It does actually fail. In fact, from the mountains of diff output it looks like 'sort' *may* be completely failing to output anything, or at least failing to output large chunks of what it is supposed to. I can

Re: [PATCH] Support in du for showing both apparent and on-disk size and the ratio between them

2007-02-22 Thread Luca Barbieri
On Thu, 2007-02-22 at 17:54 +, James Youngman wrote: On 1/31/07, Luca Barbieri [EMAIL PROTECTED] wrote: This patch allows to display simultaneously both the disk usage and apparent size and also allows to display the completeness (or nonsparsity) of file, which is the ratio of the disk

Re: [patch] shuf.c: Permutation With Replacement

2007-02-22 Thread Alexander Horn
I have send out an email earlier this week that sketches out changes to the `shuf' program that would allow for random permutations with replacement (--with-replacement switch). For example: shuf EOF clubs hearts diamonds spades EOF might output: clubs diamonds spades diamonds Please let

Re: make check failure with sort-compress on OSF and Linux

2007-02-22 Thread Dan Hipschman
On Fri, Feb 23, 2007 at 12:57:49AM +0100, Jim Meyering wrote: Even so, sort needs a better fall-back position for when it fails to fork a decompression process (failing to start a compression process isn't a big problem). If it can't fork the process, it should simply revert to decompressing

fold/glibc issue on x86_64

2007-02-22 Thread Andreas Radke
i got a bugreport from one ArchLinux x86_64 user : http://bugs.archlinux.org/task/5365 Calling fold with 2 files ends up with a glibc hickup: [EMAIL PROTECTED] ~]$ fold ~/.bashrc ~/.bash_profile alias ls='ls --color=auto' PS1='[EMAIL PROTECTED] \W]\$ ' test -n $DISPLAY export

Re: coreutils vs. an LD_PRELOAD-spawned thread [Re: env

2007-02-22 Thread Harvey Eneman
Jim, Thanks for the heads-up. We're trying to be as benign as possible when loaded into a coreutils process. Harv ---BeginMessage--- Harvey Eneman [EMAIL PROTECTED] wrote: Which functions are those? I was referring to getenv(3), putenv(3), unsetenv(3) and setenv(3) functions. In my

Re: gnulib getcwd patch needed for Solaris 10 getcwd

2007-02-22 Thread Albert Chin
On Fri, Feb 23, 2007 at 12:26:00AM +0100, Jim Meyering wrote: Albert Chin [EMAIL PROTECTED] wrote: On Thu, Feb 22, 2007 at 01:22:31AM +0100, Jim Meyering wrote: Bad timing. I was about to make a test release. If anyone else has access to a Solaris 10 system (x86 or otherwise), with Sun

Re: [patch] shuf.c: Permutation With Replacement

2007-02-22 Thread Jim Meyering
Alexander Horn [EMAIL PROTECTED] wrote: I have send out an email earlier this week that sketches out changes to the `shuf' program that would allow for random permutations with replacement (--with-replacement switch). For example: shuf EOF clubs hearts diamonds spades EOF might