On Wed, Aug 09, 2000 at 07:26:29PM +0000, Nick Ing-Simmons wrote: > Graham Barr <[EMAIL PROTECTED]> writes: > >On Wed, Aug 09, 2000 at 11:41:42AM -0500, Jonathan Scott Duff wrote: > >> How about this? > >> > >> open '/etc/passwd'; # file > > > >OK > > > >> open '/usr/local/bin/'; # directory (note the trailing '/') > > > >Portability, not all platforms use / Hmm. So that would be open 'file://etc/passwd'; open 'dir://usr/local/bin'; with the default open method being "file"? -Scott -- Jonathan Scott Duff [EMAIL PROTECTED]
- Re: RFC 14 (v2) Modify open() to support FileObjects a... Chaim Frenkel
- Re: RFC 14 (v2) Modify open() to support FileObje... Nathan Wiger
- Re: RFC 14 (v2) Modify open() to support FileObje... Nick Ing-Simmons
- Re: RFC 14 (v2) Modify open() to support File... Nathan Wiger
- Re: RFC 14 (v2) Modify open() to support FileObje... Jon Ericson
- Re: RFC 14 (v2) Modify open() to support File... Nathan Wiger
- Re: RFC 14 (v2) Modify open() to support ... Jonathan Scott Duff
- Re: RFC 14 (v2) Modify open() to supp... Graham Barr
- Re: RFC 14 (v2) Modify open() to... Nick Ing-Simmons
- Re: RFC 14 (v2) Modify open(... Jonathan Scott Duff
- Re: RFC 14 (v2) Modify o... Chaim Frenkel
- Re: RFC 14 (v2) Modify o... Nick Ing-Simmons
- Re: RFC 14 (v2) Modify open(... Piers Cawley
- Re: RFC 14 (v2) Modify o... Bart Lateur
- Re: RFC 14 (v2) Modify open() to... Tom Hughes
- Re: RFC 14 (v2) Modify open(... Tom Hughes
- Re: RFC 14 (v2) Modify o... Chaim Frenkel
- Re: RFC 14 (v2) Modify o... Piers Cawley
- Re: RFC 14 (v2) Modify open(... Piers Cawley
- Re: RFC 14 (v2) Modify open() to... Jonathan Scott Duff