Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: ls c:/aax/*(.om[1]) stops working CygWin



Matthew Wozniski <godlygeek@xxxxxxxxx> wrote in news:20071006183720.GA18943
@mastermind:

> On Sat, Oct 06, 2007 at 01:28:40PM +0000, zzapper wrote:
>> $ ls c:/aax/*(.om[1])
>> zsh: no matches found: c:/aax/*(.om[1])
> 
> That's not supported by cygwin.  Sometimes it will work for simple
> things, but there's no guarantee that it will ever work.  Using
> mountpoints is guaranteed to work.
> 
> To quote Brian Dessent on the cygwin mailing list:
> 
>> 
>> Stop using Win32 paths.  They work only by coincidence, not by design.

Trouble is I need the c:/ style path as I need to pass it to a windows App.
I guess I'll have to do a variable substitute to transform the 
/c/path/newest.file back to c:/path/newest.file



-- 
zzapper
http://www.rayninfo.co.uk/vimtips.html



Messages sorted by: Reverse Date, Date, Thread, Author