delorie.com/archives/browse.cgi | search |
On Thu, Mar 16, 2000 at 09:32:03AM -0800, Scott Blachowicz wrote: >Heribert Dahms <heribert_dahms AT icon-gmbh DOT de> wrote: >> are you hardwired to 'ls', 'ls -l' or (like me) 'll'? >> My stock b20 'ls' spits out only filenames! > >I usually use 'ls -l', but what I really want (usually) is the filenames, >sizes and mod times (and sometimes permissions). And, if I want that, I'll >have to take the stat() penalty, I guess. So...I was curious...what is it in >the stat() call that can only be obtained by opening the file? Is it just the >cygnus stat() emulation that does that? One of these days, maybe I'll try out >a native-Win32 perl 'ls' wrapper script... The Windows API dictates that much of the information required to fill in a stat structure can only come by querying an open file handle. cgf -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |