Re: LS and spaces in path names (the xth)

2005-06-29 Thread Thorsten Kampe
http://cygwin.com/acronyms/#PCYMTWLL PLEASE! * Andreas Eibach (2005-06-28 14:14 +0100) > Yes, this is the umpteenth time this gets asked, but also the umpteenth plead > to fix this in cygwin (as it _definitely_ works in Linux, also with vfat and > non-Linux partitions!!) This is probably the um

RE: LS and spaces in path names (the xth)

2005-06-28 Thread Igor Pechtchanski
On Tue, 28 Jun 2005, Nikhil Nair wrote: > Just a quick observation - but first an apology: I haven't read the > thread, as I've only just subscribed, so this may have already been said. > > I'm a bit surprised by this wildcard behaviour, as I would have assumed > "CD 1..." would have been picked u

Re: LS and spaces in path names (the xth)

2005-06-28 Thread Kaz Kylheku
On Tue, 28 Jun 2005, Andreas Eibach wrote: > Needless to say that scripts containing > > for i in `ls *.dat*`; do Ouch!!! > will NOT work, because Cygwin will interpret each sub-string between the \ ' > s separately, making parsing files a nuisance. That script won't work anywhere. Who

RE: LS and spaces in path names (the xth)

2005-06-28 Thread Nikhil Nair
Hi, Just a quick observation - but first an apology: I haven't read the thread, as I've only just subscribed, so this may have already been said. I'm a bit surprised by this wildcard behaviour, as I would have assumed "CD 1..." would have been picked up by "CD *". I'd suggest that this is a bash

RE: LS and spaces in path names (the xth)

2005-06-28 Thread Dave Korn
Original Message >From: Andreas Eibach >Sent: 28 June 2005 14:14 > fix this in cygwin (as it _definitely_ works in Linux, I'm glad you're so definite about this, it's good to have such confidence in your own beliefs that you feel no need to verify them against reality. > ls -hog "CD *"

Re: LS and spaces in path names (the xth)

2005-06-28 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Andreas Eibach on 6/28/2005 7:14 AM: > > -rw-r--r-- 1 0 Jun 28 14:46 CD0.dat > -rw-r--r-- 1 24K Jun 28 14:46 CD 1 - Multimedia.dat > -rw-r--r-- 1 2.9K Jun 28 14:46 CD 2 - Multimedia.dat ... > ls -hog "CD*[12]*" > > WORK

SV: LS and spaces in path names (the xth)

2005-06-28 Thread Peter J. Acklam
I don't see the problem. > ls -hog "CD *" > ls: CD *: No such file or directory Of course. There is no file whose name is the four character string "CD *", so ls doesn't find anything. > ls -hog "CD [12]*" > ls: CD [12]*: No such file or directory Ditto. There is no file whose name is the six

LS and spaces in path names (the xth)

2005-06-28 Thread Andreas Eibach
Yes, this is the umpteenth time this gets asked, but also the umpteenth plead to fix this in cygwin (as it _definitely_ works in Linux, also with vfat and non-Linux partitions!!) I have two files in ~, say they're CD0.dat CD1 - Multimedia (foo1).dat CD2 - Multimedia2 (foo2).dat +