bug#28079: Fwd: bug#28079: find -type l -xtype and recursive symbolic links

2017-09-03 Thread James Youngman
-> findutils bug https://savannah.gnu.org/bugs/index.php?51926

bug#9102: "timeout 0 FOO" should timeout right away

2011-07-19 Thread James Youngman
2011/7/19 Pádraig Brady : > On 19/07/11 23:00, James Youngman wrote: >> 2011/7/17 Paul Eggert : >>> On 07/17/11 05:31, Pádraig Brady wrote: >>>> Well my reasoning for having "0" mean don't timeout, >>>> was to have an easy way in scripts

bug#9102: "timeout 0 FOO" should timeout right away

2011-07-19 Thread James Youngman
2011/7/17 Paul Eggert : > On 07/17/11 05:31, Pádraig Brady wrote: >> Well my reasoning for having "0" mean don't timeout, >> was to have an easy way in scripts to specify no timeout > > That's a good thing to have, but it could be specified in > a different way.  One possibility is the '1' (digit 1

bug#8930: $date +%C

2011-06-25 Thread James Youngman
2011/6/24 Dimitri Tassiaux : > *Century error !* This isn't a very intelligible bug report. When reporting a bug in software please state as precisely as possible: 1. What you did. 2. What you expected to happen. 3. What actually did happen. In this case I assume you think that %C prints the ce

bug#8782: date command

2011-06-02 Thread James Youngman
On Thu, Jun 2, 2011 at 10:11 AM, Jim Meyering wrote: > Pádraig Brady wrote: >> OK how about I put the last 3 or 4 examples from >> http://www.pixelbeat.org/cmdline.html#dates >> in an EXAMPLE section in the man page. > > Good examples. > I like the idea. One tweak: use date -d "12:00 +1 day" inst

bug#7365: stat bug: %Z appends .000000000

2010-11-11 Thread James Youngman
On Wed, Nov 10, 2010 at 6:24 PM, IgnorantGuru wrote: > Thanks for the explanation - I definitely think maintaining backward > compatibility is a better approach.  There is far too much breakage of > software in linux as it is. FWIW, GNU findutils does the same thing. I don't think anybody com

bug#7320: 'group' command gives wrong/extra group

2010-11-08 Thread James Youngman
Does the same thing happen with "id -G"?

bug#5861: [PATCH] Explain what makes a 'word' as counted by wc.

2010-04-08 Thread James Youngman
--- src/wc.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/src/wc.c b/src/wc.c index 0698ae1..6df7fed 100644 --- a/src/wc.c +++ b/src/wc.c @@ -117,7 +117,8 @@ Usage: %s [OPTION]... [FILE]...\n\ fputs (_("\ Print newline, word, and byte counts for each FILE, and

Re: rm (remove.c): Rewrite to use fts: request for review

2009-08-30 Thread James Youngman
On Fri, Aug 28, 2009 at 7:09 PM, Jim Meyering wrote: > Here's an interesting patch. [...] > It'd be great if another pair of eyes could glance through > these changes (diffs look "big", but most hunks are simply removals). I read the patch, but don't have any comments. Partly this is because it i

Re: [RFC] new open flag O_NOSTD

2009-08-30 Thread James Youngman
On Mon, Aug 24, 2009 at 1:22 PM, Eric Blake wrote: > The name proposed in this mail is O_NOSTD (implying that a successful > result will not be any of the standard file descriptors); other ideas > mentioned on the bug-gnulib list were O_SAFER, O_NONSTD, O_NOSTDFD. > http://lists.gnu.org/archive/htm

Re: Porting GNU Projects - Coreutils

2009-08-01 Thread James Youngman
On Wed, Jul 29, 2009 at 4:16 PM, bornlibra23 wrote: > > Hello People > I am trying to port various GNU products to Stratus OpenVOS platform > including the GCC compiler collection. However I am stuck currently for the > lack of wide & multibyte character support. Can somebody guide me to an > imple

Re: Bug#539481: coreutils: [df] Please use DOT instead of COMMA in -h (human readable) size listing

2009-08-01 Thread James Youngman
On Sat, Aug 1, 2009 at 10:58 AM, Jari Aalto wrote: > Package: coreutils > Version: 7.4-2 > Severity: wishlist > > > [Debian Bug / wishlist] > > $ df -hl | grep usb > >  /dev/sdb1             3,9G  3,9G   96K 100% /media/usb0 >  /dev/sdc1             3,8G  4,0K  3,8G   1% /media/usb1 > > SUGGESTION

Re: A request for addition of a command

2009-07-26 Thread James Youngman
On Fri, Jul 24, 2009 at 8:17 PM, Kamil Dudka wrote: >> 2. Negative path to eliminate the part of the path. >> >>     - >> >> This removes the from the end of . >> >>    - + >> >> This removes the from the beginning of > > The algebra seems really strange to me. Has the '-' operator usual sem

Re: _cache->open()failured

2009-07-23 Thread James Youngman
On Mon, Jul 20, 2009 at 8:25 PM, Bob Proulx wrote: > Bernhard Herko wrote: >> Mayby there is someone who can help me. Maybe, could you let us know how you came to send email to the bug-coreutils mailing list? Maybe there is some documentation pointing to it that needs to be updated so that it is

Re: bug when installing gnome-do plugins?

2009-07-15 Thread James Youngman
On Tue, Jul 14, 2009 at 3:41 PM, Daygan Sobotka wrote: > When attempting to install gnome-do plugins on my 64-bit Ubuntu O.S. I run > into this problem First, thank you for including both the background information and the precise output you saw. This is very helpful. > at the "sudo make instal

Re: bug found from ls command

2009-07-11 Thread James Youngman
On Wed, Jul 8, 2009 at 10:02 AM, James Youngman wrote: > [+bug-findutils] > > On Tue, Jul 7, 2009 at 5:36 PM, PG wrote: >> ah, great! >> >> thank you for the info. That helps me understand a lot. Now I see why find >> fails. And perhaps it's not worth

Re: Broken --inverse flag.

2009-07-11 Thread James Youngman
On Thu, Jul 9, 2009 at 12:09 PM, Daniel Kersten wrote: > $ ps --inverse > -- ERROR: Unknown gnu long option. [...] > I would expect to receive a list of all processes currently not > running I have implemented such an option, but I have not yet finished testing it. As soon as I have verified the

Re: ls manpage incomplete

2009-07-11 Thread James Youngman
On Thu, Jul 9, 2009 at 9:57 PM, Richard Guy Briggs wrote: > > The ls(1) manpage is incomplete. Why? On Fri, Jul 10, 2009 at 4:29 AM, Richard Guy Briggs wrote: > On Thu, Jul 09, 2009 at 08:42:15PM -0600, Eric Blake wrote: >> According to Richard Guy Briggs on 7/9/2009 2:57 PM: >> > The ls(1) manp

Re: bug found from ls command

2009-07-08 Thread James Youngman
[+bug-findutils] On Tue, Jul 7, 2009 at 5:36 PM, PG wrote: > ah, great! > > thank you for the info. That helps me understand a lot. Now I see why find > fails. And perhaps it's not worth the extra computation time required to, > upon failure of cd'ing into the directory, trying to list it. It pro

Re: feature request: -0 option for tr

2009-07-02 Thread James Youngman
On Wed, Jul 1, 2009 at 11:47 AM, Craig Sanders wrote: > On Wed, Jul 01, 2009 at 10:13:15AM +0100, James Youngman wrote: >> The essential point though has already been made by Bob and Andreas; >> this causes failures for filenames which themselves contain newlines >> (all Unix-

Re: Want to contribute to Open Source.

2009-07-01 Thread James Youngman
On Tue, Jun 30, 2009 at 2:08 PM, Philip Rowlands wrote: > On Tue, 30 Jun 2009, VIKAS wrote: > >> Myself Vikas from India, i'm working as SQA in one of the big brand >> company. >> I want to contribute to open source by doing some work for GNU. >> Could you please guide me how can i contribute to GN

Re: feature request: -0 option for tr

2009-07-01 Thread James Youngman
On Sun, Jun 28, 2009 at 2:20 AM, Craig Sanders wrote: > please add a -0 option to tr, which is equivalent to > running: > >    tr '\n' '\000' > > this is a useful command for converting \n-terminated input lines to > null-terminated strings suitable for feeding into 'xargs -0' as many > programs ca

Re: sort --key-debug

2009-06-12 Thread James Youngman
On Fri, Jun 12, 2009 at 7:35 PM, Jim Meyering wrote: > Pádraig Brady wrote: >> I find it quite difficult to determine correct key positions to use, >> especially given the complicated rules for (global) -b options etc. >> >> I wonder would it be useful to add a --key-debug option, >> which would ma

Re: sort --key-debug

2009-06-12 Thread James Youngman
Sounds like a great idea to me. ___ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreutils

Re: [PATCH] chroot specify user/group feature

2009-06-04 Thread James Youngman
[ bug-coreutils moved to BCC, CC += bug-gnulib ] On Wed, May 27, 2009 at 8:04 PM, Giuseppe Scrivano wrote: > Hi Eric, > > Eric Blake writes: > >> Would it be worth starting to patch the testsuite to replace 'setuidgid -g >> list usr cmd arg' with 'chroot --user usr --groups=list / cmd arg' in >>

Re: ls reports incorrect file size compared to what debugfs reports for ext3 filesystem

2009-05-20 Thread James Youngman
On Wed, May 20, 2009 at 1:33 AM, Matthew Woehlke wrote: > Chris Weston wrote: >> >> I'm trying debug an issue with my one of my disks in my system. I >> have an ext3 file system mounted and ls -l is reporting an impossible >> size for two of the files: log_1848_1239927341.core and >> log_1848_1239

Re: Feature request: mktemp fifo

2009-05-19 Thread James Youngman
On Mon, May 18, 2009 at 1:15 PM, Stefan Behte wrote: > Hi, > > and thanks for he fast reply. Surely it's possible that way, but that's two > commands instead of just one. ;) Yes, combining tools with complementary features is the Unix way of doing things. James. __

Re: Error mounting Caixa Magica in Magalhes!

2009-05-11 Thread James Youngman
On Mon, May 11, 2009 at 12:08 AM, Rui Mauro Oliveira wrote: > Good evening, > > Can i get help with this error o gives me in PC Magalhes whit Caixa Magica > please: > > /dev/hda7: Multiply-claimed block(s) in inode 684772: 188998  188998 > /dev/hda7: Multiply-claimed block(s) in inode 684811: 1971

Re: [PATCH] Add ability to print ACL's from ls

2009-05-10 Thread James Youngman
On Sat, May 9, 2009 at 11:59 AM, David Bartley wrote: > I considered this. There are at least 3 different variants of ACL's > (POSIX, NFSv4 and MacOS X) and they are generally incompatible. UMich > created patches to acl/libacl so that you could set NFS4 acl's via > getfacl/setfacl using POSIX AC

Re: test-memchr failure on rawhide

2009-05-08 Thread James Youngman
On Fri, May 8, 2009 at 11:21 PM, Bruno Haible wrote: > Andreas Schwab wrote: >> They are free to access the object in any random order they like. > > The question is: How many bytes are the mem* functions free to access? > > How many bytes is "the object" large? If s is NULL, there _is_ no object

Re: New Feature Desired for tail

2009-05-07 Thread James Youngman
On Wed, May 6, 2009 at 11:15 PM, Brian McQueen wrote: > The new feature is demonstrated by a wrapper script around tail which > gives me the ability to use tail to drive arbitrary alerts like this > (only the core concept lines are shown): > > > > # put it into the background > > tail -n 0 -f erro

Re: id confusion

2009-05-06 Thread James Youngman
On Wed, May 6, 2009 at 7:13 PM, Bauke Jan Douma wrote: >       -r, --real >              print the real ID instead of the effective ID, with -ugG It's an abbreviated - perhaps too abbreviated form - of "-u or -g or -G". James. ___ Bug-coreutils maili

[bug #10384] chroot feature request: --user and --group parameters

2009-05-02 Thread James Youngman
Follow-up Comment #4, bug #10384 (project coreutils): That's an option, certainly, and if the default is to remove supplementary groups, it's pretty safe. Another option is to call getgroups(), but then you need to decide whether to call it before chroot (when things like any necessary LDAP co

[bug #10384] chroot feature request: --user and --group parameters

2009-05-02 Thread James Youngman
Follow-up Comment #2, bug #10384 (project coreutils): What about supplementary group IDs? In the general case the caller will be privileged and want to drop those privileges. Some of the supplementary groups will be privileged. ___ Reply

Re: new snapshot available: coreutils-7.2.66-428db1

2009-05-01 Thread James Youngman
On Thu, Apr 30, 2009 at 12:52 PM, Jim Meyering wrote: > James Youngman wrote: >> "make check" fails in "doc" on a vanilla NetBSD5.0 system (released >> yesterday) because no version of Perl is installed by default.   In >> fact make fails without explanati

Re: new snapshot available: coreutils-7.2.66-428db1

2009-04-30 Thread James Youngman
"make check" fails in "doc" on a vanilla NetBSD5.0 system (released yesterday) because no version of Perl is installed by default. In fact make fails without explanation: $ make check *** Error code 1 Stop. make: stopped in /home/james/tmp/cu/coreutils-7.2.66-428db1/doc I guess this is becaus

Re: Wishlist: --no-header option for df

2009-04-27 Thread James Youngman
On Mon, Apr 27, 2009 at 9:14 PM, Christian Hudon wrote: > Hello, > > I have a small feature request. It'd be nice to have a --no-header option to > df that skips printing the header line. The feature is already implemented in sed:- $ df -P | sed -e 1d|head -3 /dev/mapper/mirror_a-root_fs 51605

Re: [PATCH] build: make --enable-silent-rules the default

2009-04-23 Thread James Youngman
On Thu, Apr 23, 2009 at 8:27 PM, Jim Meyering wrote: > Automake has made it so a package maintainer has to > go a little out of the way to make --enable-silent-rules the default. > So I'm doing this: > > From 52c4018a9c1020c2250b4250dfdda1dfc1873284 Mon Sep 17 00:00:00 2001 > From: Jim Meyering >

Re: feature request: list statistical properties for the list of files passed

2009-04-23 Thread James Youngman
On Thu, Apr 23, 2009 at 1:06 PM, George Marselis wrote: > Hey guys, thanks for all the hard work. I'm working as a sysadmin for a shop > that specializes in Debian GNU/Linux. > > i got a directory with a couple of tens of milions of files. It's not such a great idea to do that. Far better to ch

Re: chroot documentation

2009-04-21 Thread James Youngman
On Tue, Apr 21, 2009 at 6:35 PM, Stefano Carucci wrote: > > Hello all! > > Can anyone suggest to me a detailed guide about the chroot implementation ? The implementation in coreutils or the one in your kernel?The implementation of chroot(1) in coreurils looks pretty much like this: chroot("t

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

2009-04-19 Thread James Youngman
On Sun, Apr 19, 2009 at 1:52 PM, Jim Meyering wrote: > Andreas Schwab wrote: >> Jim Meyering 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 fil

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

2009-04-17 Thread James Youngman
On Fri, Apr 17, 2009 at 5:46 PM, Jim Meyering wrote: > diff --git a/src/copy.c b/src/copy.c > index 9b0e139..3cbeba4 100644 > --- a/src/copy.c > +++ b/src/copy.c > @@ -699,10 +699,6 @@ copy_reg (char const *src_name, char const *dst_name, >                goto close_src_and_dst_desc; >            

Re: faster fnmatch

2009-04-17 Thread James Youngman
[ CC += bug-findutils, bug-gnulib; bug-coreutils moved to BCC ] On Thu, Apr 16, 2009 at 8:09 PM, Ondrej Bilka wrote: > Hello. I am writing partial fnmatch to speed up locate et al. Please note that locate is part of GNU findutils, not GNU coreutils. I have CC'ed this email to the correct list.

Re: signalement d'erreur

2009-04-17 Thread James Youngman
After recent Ubuntu releases there have been several people who have been asking about Ubuntu questions on this GNU Coreutils mailing list. If you would be so kind could you tell us what has directed you to ask your question on this mailing list? We fear that there may be incorrect documentation

Re: options commande tail .

2009-04-17 Thread James Youngman
2009/4/16 : > > Sur les serveurs Linux RedHat enterprise version 5 l'option +n ne > fonctionne plus , il faut utiliser l'option -n +n a la place . > Un positionnement de variable _POSIX2_VERSION a la valeur 199209 contourne > ce probleme . > Exemple de package : > coreutils-5.97-19.el5 Please for

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

2009-04-17 Thread James Youngman
On Thu, Apr 16, 2009 at 1:54 PM, Jim Meyering wrote: > Thank you for the bug report. > The relevant code from coreutils/src/copy.c is here: > >            /* A short read on a regular file means EOF.  */ >            if (n_read != buf_size && S_ISREG (src_open_sb.st_mode)) >              break; >

Re: Bug On CUT

2009-04-17 Thread James Youngman
On Thu, Apr 16, 2009 at 1:05 AM, Eric Blake wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > According to Ar3s on 4/15/2009 5:25 PM: >> >> echo "a"|cut --delimiter=" " --fields=2- >> I have assumed that it would return an empty string >> but it returns a >> >> Is it normal or is it a b

Re: [PATCH] sort: Add --threads option, which parallelizes internal sort.

2009-04-05 Thread James Youngman
On Fri, Apr 3, 2009 at 8:57 PM, Paul Eggert wrote: > More important, it's not clear to me what the role of the test suite > ought to be.  Should the test really fail if it doesn't get enough > performance improvement with 2 threads?  How do we decide what's > "enough"?  None of our other tests ar

[patch #6797] shred option to use internal RNG

2009-04-05 Thread James Youngman
Follow-up Comment #5, patch #6797 (project coreutils): IMO both /dev/urandom and /dev/random should be used as sources of data for seeding PRNGs, as opposed to being used as sources of random data directly. My rationale for this is that even using /dev/urandom for large quantities of data will

Re: Bugs!

2009-04-01 Thread James Youngman
On Wed, Apr 1, 2009 at 1:41 AM, Henry Purvis wrote: > > Hi, um.my name is henry and there is a bug on an application I have (from > cydia) and I typed in on 'terminal' and it said to contact you > guys to say that there was a bug.so could you please get it fixed? PLEASE! Could you let

Re: [PATCH] Indicate that you need Autoconf 2.61a-341 or newer to build current Automake.

2009-03-12 Thread James Youngman
On Wed, Mar 11, 2009 at 1:30 AM, Pádraig Brady wrote: > James Youngman wrote: >> Signed-off-by: James Youngman >> --- >>  README-prereq |    3 +++ >>  1 files changed, 3 insertions(+), 0 deletions(-) >> >> diff --git a/README-prereq b/README-prereq &g

Re: bug in join: case comparisons don't work in multibyte locales

2009-03-12 Thread James Youngman
On Wed, Mar 11, 2009 at 11:57 AM, Bruno Haible wrote: > OK, I'll work on the creation of a GNU project called 'libunistring', that > will export the functions from gnulib as a shared library. My first reaction was, why isn't libunistring===glibc, but then we'd end up in a situation where gnulib w

[PATCH] Indicate that you need Autoconf 2.61a-341 or newer to build current Automake.

2009-03-10 Thread James Youngman
Signed-off-by: James Youngman --- README-prereq |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/README-prereq b/README-prereq index 91676f4..d7c9c36 100644 --- a/README-prereq +++ b/README-prereq @@ -27,5 +27,8 @@ getting the prerequisites for particular systems

Re: Did I found a bug in "ls"?

2009-03-08 Thread James Youngman
On Sun, Mar 8, 2009 at 3:15 PM, Major Péter wrote: > Hi! > > I would like to list some folders with they block-sizes, but only specific > folders am I interested. > So I would like to use find to list the correct folders for me: > ls `find . -type d -user foo -name "*"` -name "*" is redundant I t

Re: [PATCH] build: allow ./bootstrap --srcdir=... to work with a git submodule

2009-03-07 Thread James Youngman
On Sat, Mar 7, 2009 at 5:19 PM, Jim Meyering wrote: > When using git-bisect to see exactly when pr -oN broke, > I was dismayed to see that I couldn't easily build some older > versions from git due to their dependency on older versions > of gnulib.  Of course, this isn't at all surprising, once yo

Re: A request/suggestion for the behavior of chmod -X

2009-03-06 Thread James Youngman
On Sat, Mar 7, 2009 at 2:55 AM, Charles Jie wrote: > Hi, > > Situation: > >    I often need to pull lots of files from Windows boxes or from SD >    cards in FAT filesystem filled with photos from digital camera. > >    The copied files usually have the x-bit enabled, which I hate very >    much i

Re: Need info.....ugent....

2009-03-03 Thread James Youngman
On Mon, Mar 2, 2009 at 4:02 PM, vimal raj wrote: > Sir, >     I cant able to run the following Shell program in the UBUNTU 7.10 version. I'm happy to help you but it is better to do that off this mailing list, since this mailing list doesn't have anything to do with shell programming on Ubuntu.

Re: bug in join command

2009-02-26 Thread James Youngman
On Wed, Feb 25, 2009 at 8:20 PM, Laurent Manchon wrote: > -- Hi, > > i have used a join command as: "join -1 1 -2 1 -o > 2.1,2.2,2.3,2.4,2.5,2.6,2.7,2.8,2.9 file.test V.test" > with the files i send you in attachment(files.zip). > This command returns only 55 lines. > The real number in the output

Re: [PATCH] Update James Youngman's email address

2009-02-21 Thread James Youngman
On Sun, Feb 22, 2009 at 12:41 AM, James Youngman wrote: > * THANKS: Update James Youngman's email address > -James Youngman james+use...@free-lunch.demon.co.uk > +James Youngman j...@gnu.org I haven't used that email address at all si

[PATCH] Update James Youngman's email address

2009-02-21 Thread James Youngman
* THANKS: Update James Youngman's email address Signed-off-by: James Youngman --- THANKS |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/THANKS b/THANKS index ebb8c4d..c78e85d 100644 --- a/THANKS +++ b/THANKS @@ -242,7 +242,7 @@ James

Re: coreutils-6.12.208-2441 and strtold

2009-02-21 Thread James Youngman
On Wed, Jan 28, 2009 at 11:26 AM, Poor Yorick wrote: > Couldn't check out coreutils at work because corporate firewall blocked > everything but http access, which always hung during git-clone. Perhaps if you try a shallow clone by using "git clone --depth 2" or similar, this may work around the

Re: Timezone handling in date command

2009-02-21 Thread James Youngman
On Thu, Feb 19, 2009 at 12:11 PM, Burba, Viktor wrote: > Dear guys, > > I have expierenced the following unexpeted behaviour by using the "date" > command on SuSE SLES10(x86_64): > > I have timezone setup to Asia/Dubai (GMT+4), which has short name GST > (Gulf Standart time) > > #date > Thu Feb 20

Re: I need help for Linux.

2009-02-20 Thread James Youngman
On Wed, Feb 18, 2009 at 1:16 PM, mz h wrote: > > Hello! I need help because my Linux system! > My system is : > Linux TCJ 2.6.18-92.el5xen #1 SMP Tue Apr 29 13:31:30 EDT 2008 x86_64 x86_64 > x86_64 GNU/Linux > A user of this system is [dmuser]. > Its profile is .bash_profile. > I can'

Re: date overflow in year 2038

2009-02-20 Thread James Youngman
On Sat, Feb 14, 2009 at 3:45 AM, David M. Dowdle wrote: > > I'd rank this as low priority, but people doing things like 30 year mortages > will be hitting this already. > Mortgage calculations probably shouldn't be using time_t anyway; use of time_t for future calculations assumes that we already

Re: Direct-hit help on specific commands with Info

2008-12-20 Thread James Youngman
[ bug-coreutils moved to BCC ] On Sat, Dec 20, 2008 at 11:31 AM, Andreas Schwab wrote: > Looks like your info system is misconfigured. The coreutils info file > has a direntry section that lists all invdividual utilities as menu > entries that redirect to the respective invocation nodes in the >

Providing pointers to more generic help

2008-12-20 Thread James Youngman
Having inhabited a number of GNU mailing lists for few years now, I see that people occasionally email them with wholly unrelated problems. My current guess is that this happens because they happen to see --help output from a GNU program or see the BUGS section of some GNU manpage, and decide to

Direct-hit help on specific commands with Info

2008-12-20 Thread James Youngman
I note that (for example) the commands "info paste" and "info coreutils paste" produce quite different results.The former brings up a manpage on my system and the latter brings up the Info documentation for the coreutils program "paste". The latter is more useful. The fact that info falls bac

Re: better figure out a paperless copyright assignment method

2008-12-19 Thread James Youngman
[ bug-coreutils moved to BCC, this subject is off-topic for that list ] On Fri, Dec 19, 2008 at 5:22 AM, wrote: >> "EB" == Eric Blake writes: > > EB> According to jida...@jidanni.org on 12/18/2008 9:55 PM: >>> Wait a second, when making a Wikipedia editing contribution we just >>> click on

Re: HACKING doc git 3rd possiblity

2008-12-18 Thread James Youngman
On Tue, Dec 16, 2008 at 4:19 PM, wrote: > In HACKING Thanks for the suggestions. > If you have made *no* changes: > git pull > > If you *have* made changes and committed them to "master", do this: > git fetch > git rebase origin > > OK, but add > > If you *have* made cha

Re: [PATCH] getopt: Indicate the problem with ambiguous options clearly.

2008-12-14 Thread James Youngman
On Sun, Dec 14, 2008 at 7:05 PM, Bruno Haible wrote: > James Youngman wrote: >> +2008-12-14 James Youngman >> + >> + getopt: Indicate the problem with ambiguous options clearly. >> + * lib/getopt.c (_getopt_internal_r): Print the first and second >> +

[PATCH] getopt: Indicate the problem with ambiguous options clearly.

2008-12-14 Thread James Youngman
--- ChangeLog|6 ++ lib/getopt.c | 25 + 2 files changed, 23 insertions(+), 8 deletions(-) diff --git a/ChangeLog b/ChangeLog index 7faac2b..b593588 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2008-12-14 James Youngman + + getopt

Re: date(1): -d argument parsing error

2008-12-10 Thread James Youngman
On Wed, Dec 10, 2008 at 1:08 AM, Jan Minář <[EMAIL PROTECTED]> wrote: > 2008/12/10 James Youngman <[EMAIL PROTECTED]>: >> $ date -d "next `LC_ALL=C date +%A`" >> mercredi 10 décembre 2008, 00:00:00 (UTC+) > ^^^ > > You'

Re: date(1): -d argument parsing error

2008-12-09 Thread James Youngman
On Tue, Dec 9, 2008 at 5:19 PM, Jan Minář <[EMAIL PROTECTED]> wrote: > Hi. > > date(1) command parses "next $day_of_week_today" (where > $day_of_week_today is today's day name) incorrectly: > > $ date > Tue Dec 9 17:16:50 GMT 2008 > $ date -d "next `date +%A`" > Tue Dec 9 00:00:00 GMT 2008 > > It

Re: [bug #24949] coreutils pwd not implementing latest POSIX features

2008-12-01 Thread James Youngman
On Mon, Dec 1, 2008 at 2:04 AM, Paul D. Smith <[EMAIL PROTECTED]> wrote: > > Follow-up Comment #2, bug #24949 (project coreutils): > > The problem is that without -P I can't invoke pwd from things like Perl > portably. If I use "my $pwd = `pwd`;" and it runs a shell and uses the shell > builtin ve

Re: cp command option -x, --one-file-system

2008-11-29 Thread James Youngman
On Fri, Nov 28, 2008 at 12:51 PM, ebloch <[EMAIL PROTECTED]> wrote: > > cp command option : > > -x, --one-file-system > stay on this file system > > sometimes does not stay on the same filesystem. > > using cmd line : > cp -r -u -p -x -f -v --target-directory='/abc/def/123/456/xx" /home > or >

[PATCH] pwd: add pwd -P, -L to TODO

2008-11-27 Thread James Youngman
* TODO: Add to-do entry for -P and -L options of pwd. --- TODO |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/TODO b/TODO index f38c0b6..0dbb85f 100644 --- a/TODO +++ b/TODO @@ -36,6 +36,11 @@ printf: platforms where the native *printf(3) is deficient. Suggestio

Re: Threaded versions of cp, mv, ls for high latency / parallel filesystems?

2008-11-15 Thread James Youngman
On Fri, Nov 14, 2008 at 5:44 AM, Andrew McGill <[EMAIL PROTECTED]> wrote: > At the risk of drifting off topic - is there ever a benefit in the shell > implementing a ">"-redirection with just O_TRUNC , rather than O_TRUNC | > O_APPEND ? That is already the existing behaviour. The >> redirection o

Re: Threaded versions of cp, mv, ls for high latency / parallel filesystems?

2008-11-13 Thread James Youngman
On Wed, Nov 12, 2008 at 4:01 PM, Phillip Susi <[EMAIL PROTECTED]> wrote: > James Youngman wrote: >> >> This version should be race-free: >> >> find -type f -print0 | >> xargs -0 -n 8 --max-procs=16 md5sum >> ~/md5sums 2>&1 >> >>

Re: Threaded versions of cp, mv, ls for high latency / parallel filesystems?

2008-11-12 Thread James Youngman
[ CC ++ [EMAIL PROTECTED] ] On Tue, Nov 11, 2008 at 2:58 PM, Andrew McGill <[EMAIL PROTECTED]> wrote: > What would you expect this to do --: > > find -type f -print0 | > xargs -0 -n 8 --max-procs=16 md5sum >& ~/md5sums Produce a race condition :)It generates 16 parallel processes

Re: Threaded versions of cp, mv, ls for high latency / parallel filesystems?

2008-11-09 Thread James Youngman
On Sun, Nov 9, 2008 at 11:06 PM, Dr. David Alan Gilbert <[EMAIL PROTECTED]> wrote: > I keep wondering if the OS level needs a better interface; an 'openv' or > 'statv' > or I'm currently wondering if a combined call would work - something which > would stat a path, if it's a normal file, open it,

Re: [Bug 294348] Re: ubuntu directing users to coreutils mailing list for general problems

2008-11-09 Thread James Youngman
On Sun, Nov 9, 2008 at 7:57 AM, Jim Meyering <[EMAIL PROTECTED]> wrote: > "James Youngman" <[EMAIL PROTECTED]> wrote: >> Perhaps something like the attached patch to the usage message might >> be worthwhile (though I think it is probably too wordy). > >

Re: [Bug 294348] Re: ubuntu directing users to coreutils mailing list for general problems

2008-11-08 Thread James Youngman
Perhaps something like the attached patch to the usage message might be worthwhile (though I think it is probably too wordy). James. From 54614d88bc91d0c188108b467fb518c7d3de7c06 Mon Sep 17 00:00:00 2001 From: James Youngman <[EMAIL PROTECTED]> Date: Sat, 8 Nov 2008 21:55:50 + Subject:

Re: Threaded versions of cp, mv, ls for high latency / parallel filesystems?

2008-11-08 Thread James Youngman
On Sat, Nov 8, 2008 at 6:05 PM, Jim Meyering <[EMAIL PROTECTED]> wrote: > How about parallelizing it via xargs, e.g., > >$ echo a b c d e f g h | xargs -t -n4 --no-run-if-empty \ > --max-procs=2 -- cp --target-directory=dest >cp --target-directory=dest a b c d >cp --target-director

Re: [PATCH]: ls: add --user-format option for user defined format

2008-11-08 Thread James Youngman
On Fri, Nov 7, 2008 at 8:39 AM, Jim Meyering <[EMAIL PROTECTED]> wrote: > Have you considered adding SELinux-related format directives to GNU find? I would likely accept such patches into find, subject to a GNU copyright assignment of course. More generally, a more flexible syntax for find's -pri

Re: [PATCH] Add option processing tests for 'expr'

2008-10-18 Thread James Youngman
On Wed, Oct 15, 2008 at 7:46 AM, Jim Meyering <[EMAIL PROTECTED]> wrote: > Pádraig Brady <[EMAIL PROTECTED]> wrote: >> The attached tests pass with both your and Paul's patches. Thanks everybody for doing that. James. ___ Bug-coreutils mailing list Bu

Re: About win-bash customized environment

2008-09-20 Thread James Youngman
On Sat, Sep 20, 2008 at 12:08 PM, Softeam <[EMAIL PROTECTED]> wrote: > Hello from Paris, > > Since I downloaded and watched the "Revolution OS" documentary yesterday I > have decided to install win-bash on my computer. > > I noticed that win-bash doesn't read .bash_profile, .profile, etc. > custo

Re: Shred and symbolic links. People use it like a safer "rm" and get...

2008-09-20 Thread James Youngman
Interesting points, thanks! Since shred cannot do anything useful with a symbolic link there are only two (no, three) possible courses of action: 1. Dereference the link; shred the thing it points to. 2. Unlink the symbolic link 3. Refuse to do anything At the moment then, shred does (1). shr

Re: bug of sort??

2008-09-19 Thread James Youngman
It looks to me like you probably just have locate settings that you don't like:- ~$ sort -t "" -k 1 < Desktop/T 20th Century Fox Animation /guid/9202a8c04000641f80923a5a 20th Century Fox/guid/9202a8c04000641f80136722 20th Century Fox Television /guid/9202a8c0

Re: uniq works not correct

2008-09-10 Thread James Youngman
On Wed, Sep 10, 2008 at 9:51 AM, Pádraig Brady <[EMAIL PROTECTED]> wrote: > Same error happens on fedora. > > So it's probably related to that horrible i18n patch applied > by distros [...] Could be. Debian Lenny is unaffected. $ sort test test | uniq -u | wc -l ; wc -l test 0 45 test __

Re: Bug in date?

2008-09-09 Thread James Youngman
On Tue, Sep 9, 2008 at 1:47 PM, Enrique Arizón Benito <[EMAIL PROTECTED]> wrote: > Upps, I forgot it. > > #date -s "1970-01-01 00:00:01" > date: cannot set date: Invalid argument It looks like date is simply reporting an error that it received from the operating system. The strace utility (or

Re: feature request: sort by human-readable disk sizes

2008-09-06 Thread James Youngman
On Tue, Sep 25, 2007 at 5:46 PM, Paul Eggert <[EMAIL PROTECTED]> wrote: > Jim Meyering <[EMAIL PROTECTED]> writes: > >> Mart, let me know if you can assign copyright to the FSF, >> and I'll send you the paperwork. >> >> Paul? > > Thanks, Mart. Nobody has come up with a better solution, so let's go

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

2008-09-02 Thread James Youngman
On Tue, Sep 2, 2008 at 12:06 PM, Jim Meyering <[EMAIL PROTECTED]> wrote: > Andreas Schwab <[EMAIL PROTECTED]> wrote: >> 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

Re: cut - lack of --merge-delimiters option

2008-08-31 Thread James Youngman
On Sun, Aug 31, 2008 at 6:10 PM, Jan Skowron <[EMAIL PROTECTED]> wrote: > coreutils program "cut" could use a "merge delimiters" option. > > Common use case: ls -l | cut ... > One needs to print 7-th column of ls -l to see all times of > modifications. But there is no constant number of delimiters

Re: French accents

2008-08-29 Thread James Youngman
On Thu, Aug 28, 2008 at 5:51 PM, Dr. Aprahamian <[EMAIL PROTECTED]> wrote: > > Hello, > I am having difficulty with file names that have French accents. > For example the file.- > AfficheJourn\351e\311tudeP\350reaveclogos-1.pdf > exists but because it has the French e accent in its title the progra

Re: terrible Unicode shattering fold(1) command

2008-08-26 Thread James Youngman
On Mon, Aug 25, 2008 at 11:34 PM, <[EMAIL PROTECTED]> wrote: > Problem 1: Here we see fold -s busy busting apart UTF-8 characters > again still. Unless somebody beats me to it, I will try to look at this problem (though I'm not familiar with how fold is implemented). > Every third chop falls on

Re: root

2008-08-24 Thread James Youngman
On Sun, Aug 24, 2008 at 10:43 PM, jrl <[EMAIL PROTECTED]> wrote: > can't log in as root > am using directions from forums FAQ > bash: su-: command not foundis the error msg. There should be a space before the dash, if you use it at all. For more information see either man su or info core

Re: Feature request: "split --first " to affect first output file

2008-08-24 Thread James Youngman
On Sun, Aug 24, 2008 at 3:08 PM, Dave Turner <[EMAIL PROTECTED]> wrote: > Hi, > > Tape drives and their media are large and expensive so I use writeable > DVDs for my backups instead. GNU tar can write an archive across > multiple tapes, using up any remaining space on one tape before moving > to t

Re: Feature Requests

2008-08-24 Thread James Youngman
On Sun, Aug 24, 2008 at 10:16 AM, Marc Perkel <[EMAIL PROTECTED]> wrote: > I'd like to ask again (you liked the idea but I'm not seeing it implemented) > that on the utilities head ad tail that the -c option be not only in bytes > but also in k,m,g as in 10k 200m 2g Already done! You should

Re: UNIX join command bug

2008-08-21 Thread James Youngman
On Thu, Aug 21, 2008 at 4:45 PM, Guillaume Smits <[EMAIL PROTECTED]> wrote: > Dear GNU, > > > I have two files exactly identical composed of: > > 6 Fields, tab separated, with a /n That would be \n - I assume you mean ASCII LF. > at the end of the line, sorted > numerically on the key identifier

Re: Feature Requests?

2008-08-15 Thread James Youngman
On Thu, Aug 14, 2008 at 9:44 PM, ROBERT DVORACEK <[EMAIL PROTECTED]> wrote: > Matthew Woehlke wrote: >> Robert Dvoracek wrote: >>> >>> Hello. Do you take feature requests here? >> >> Sure. > >Great. I sent one a while back but I'm not sure if anyone got it. > It was a request for a sort o

  1   2   3   4   5   >