Re: cp: omitting directory, for copying only files, sed

2010-11-08 Thread Edgar Matzinger
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Cyrille, On 08/11/10 01:24, Cyrille Lefevre wrote: > > this one is a little less performant than the one provided due to Still beats typing in by hand ;-) > multiple fork, but a little simple : > > sed -ne 's|\\|/|g;/^File /s///p' $2 | xargs -

Re: cp: omitting directory, for copying only files, sed

2010-11-07 Thread Edgar Matzinger
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi David, On 7 Nov 2010, at 14:22, David wrote: Den 06-11-2010 15:12, Edgar Matzinger skrev: I ran this script (on MacOSX): #!/bin/sh W="\/Users\/edgarm\/tmp\/$1\/." echo $W sed -n 's/^File[ ]*\([^ ][^ ]*\).*/\"\1\" 

Re: cp: omitting directory, for copying only files, sed

2010-11-06 Thread Edgar Matzinger
And this is the output... tmp$ ./cptest1 test list.txt \/Users\/edgarm\/tmp\/test\/. X: ..\test\file1.txt /Users/edgarm/tmp/test/. ..\test\file2.txt /Users/ edgarm/tmp/test/. See the problem? Regards, Edgar Matzinger. - -- '

Re: Memory leakage?

2007-06-21 Thread Edgar Matzinger
Hi Dave, On 06/10/2007 11:46:35 PM, Dave Korn wrote: > On 10 June 2007 13:00, Edgar Matzinger wrote: > > > Hello list, > > > > I wonder if there is a memory leakage problem with the current cygwin > > release. After upgrading to it, and trying to compile Gnome (

Memory leakage?

2007-06-10 Thread Edgar Matzinger
Hello list, I wonder if there is a memory leakage problem with the current cygwin release. After upgrading to it, and trying to compile Gnome (using garnome), the memory usage keeps increasing. Even after I've stopped the building process, the memory isn't freed up. Does anyone have the same exp