new snapshot available: coreutils-6.10.173-c1b6f

2008-04-05 Thread Jim Meyering
It feels like we're converging. There have been some relevant changes in gnulib, too. Here's hoping the next announcement will be for coreutils-7.0. coreutils snapshot: http://meyering.net/cu/coreutils-ss.tar.gz8.8 MB http://meyering.net/cu/coreutils-ss.tar.lzma 3.6 MB http://me

RE: new feature request for "split" command

2008-04-05 Thread Miroslaw Osys
> big-output-prog | ssh [EMAIL PROTECTED] "cat > somefile" Thank you very much. The cmd line you submitted is very useful. Best regards, Miroslaw <>___ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreut

Probléme clef usb

2008-04-05 Thread thomas lochet
Bonjour lorsque je met une clef USB ou carte SD dans mon Eee PC Asus un message d'erreur apparet et me dit que je n'est pas les droits pour ouvrir le dossier de la clef !! Dans la console j'ai put lire sa : drwxr-xr-x 2 user user 4096 2008-03-11 13:06 amsn_received/ drwx-- 2 user u

USB flash drive error [Re: Probléme clef usb]

2008-04-05 Thread Gabriel Barazer
[english translation of the original message below my reply for those interested, IMHO not relevant for bug-coreutils] Thomas, Cette liste de discussion étant principalement constituée de lecteurs internationaux, l'anglais est de vigueur ici si tu veux que ton problème ne soit ne serait-ce qu

Re: Modifiable NMERGE in sort

2008-04-05 Thread Bo Borgerson
Hi, I had another look at this and thought of a few improvements I'd like to include. I added an rlimit check for open file descriptors. I also added some clearer error messages and a few more tests. Thanks, Bo From 093c965cbf5458c05c841ce1269499bd08aeff16 Mon Sep 17 00:00:00 2001 From:

Feature Request - prepend to file

2008-04-05 Thread Brock Noland
Greetings, I find myself for whatever reason, wanting to prepend a file (or stdin) to a file. Most often when dealing XML that does not have a top level tag. This can be done safely in the shell but requires a lot of work. (Maybe there is already a better way?) If the source for such a command e

Re: Feature Request - prepend to file

2008-04-05 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Brock Noland on 4/5/2008 6:47 PM: | Greetings, | | I find myself for whatever reason, wanting to prepend a file (or | stdin) to a file. Most often when dealing XML that does not have a top | level tag. | | This can be done safely in the s

Re: Feature Request - prepend to file

2008-04-05 Thread Brock Noland
Eric, Thanks for your response. > What shell commands have you been trying? I find the following to be > relatively simple to do: > > { echo header; cat file; } > file1 && mv file1 file Yes, that's is effectively how I do it when I don't have the script described below available. However, it

Re: Feature Request - prepend to file

2008-04-05 Thread Bob Proulx
Eric Blake wrote: > Brock Noland wrote: > | I find myself for whatever reason, wanting to prepend a file (or > | stdin) to a file. Most often when dealing XML that does not have a top > | level tag. > | > | This can be done safely in the shell but requires a lot of work. > | (Maybe there is already

Re: Feature Request - prepend to file

2008-04-05 Thread Brian Dessent
Eric Blake wrote: > machines. Finally, what syntax did you have in mind? It is probably > possible to write a shell script that has that exact same syntax, but uses > existing commands, to achieve the task without needing to add a new coreutil. I agree that for light duty a few simple shell com

Re: Feature Request - prepend to file

2008-04-05 Thread Brock Noland
> > > { echo header; cat file; } > file1 && mv file1 file > > Yes, that's is effectively how I do it when I don't have the script > In addition to the above if I restrict myself to programs that already > know how to edit files in place I can think of a few additional easy > ways. Sed of cour

Re: Feature Request - prepend to file

2008-04-05 Thread Bob Proulx
Brock Noland wrote: > > In addition to the above if I restrict myself to programs that already > > know how to edit files in place I can think of a few additional easy > > ways. Sed of course comes to mind. Here is one way to use sed to > > edit a file in place and insert "foo" at the first l