What about native extensions? I think VMS (and the old TOPS10) had versions as part of the file name. Do URIs have this capablity? And what does a read of a directory return? URIs or Native? A job for binmode, err, readmode, or a line discipline? <chaim> >>>>> "JSD" == Jonathan Scott Duff <[EMAIL PROTECTED]> writes: JSD> 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 / JSD> Hmm. So that would be JSD> open 'file://etc/passwd'; JSD> open 'dir://usr/local/bin'; JSD> with the default open method being "file"? -- Chaim Frenkel Nonlinear Knowledge, Inc. [EMAIL PROTECTED] +1-718-236-0183
- 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
- Re: RFC 14 (v2) Modify open() to supp... Nathan Wiger