From mboxrd@z Thu Jan 1 00:00:00 1970 From: Earnie Boyd To: "Waldor Michael \(K3/EMW4\)" Cc: cygwin users Subject: Re: B20: Bug? backslashes and stars within args of ls Date: Wed, 31 Mar 1999 19:45:00 -0000 Message-ID: <19990303155126.14113.rocketmail@send1e.yahoomail.com> X-SW-Source: 1999-03n/msg00046.html Message-ID: <19990331194500.TMqsjJ3wy0k5KIV5xsfOFp86docEsfTOcAX7x8Zl6uA@z> ---"Waldor Michael (K3/EMW4)" wrote: 8< > not ok: ls c:\\temp\\f* > //i/programme/mm3/util/ls: c:\temp\f*: No such file or directory 8< Yep. This is a bug. 8< > not ok: ls c:\temp\f* > //i/programme/mm3/util/ls: c:tempf*: No such file or directory 8< This is the expected result. 8< > I would like to call ls like > > ls c:\temp/f* > > i.e. with SINGLE backslash. 8< Will never happen. Actually the \ character is used for character quoting and is therefore the reason you need two of them. The first one quotes the second one. 8< > > Maybe there is a environment variable to control cygwin's behaviour? > 8< Well there is but not for this problem. Look at the FAQ for the environment variable CYGWIN. You could also do: mount c:\\ /c then you would be able to do: ls /c/temp/f* == - \\||// -------------------o0O0--Earnie--0O0o------------------- -- earnie_boyd@yahoo.com -- -- http://www.freeyellow.com/members5/gw32/index.html -- ----------------------ooo0O--O0ooo---------------------- PS: Newbie's, you should visit my page. _________________________________________________________ DO YOU YAHOO!? Get your free @yahoo.com address at http://mail.yahoo.com -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe@sourceware.cygnus.com