atom feed19 messages in org.w3.xproc-devRe: Fileutils
FromSent OnAttachments
Norman WalshMay 25, 2009 11:58 am 
David A. LeeMay 25, 2009 2:21 pm 
Norman WalshMay 25, 2009 2:26 pm 
Norman WalshMay 25, 2009 3:11 pm 
Dave PawsonMay 25, 2009 10:04 pm 
mozerMay 25, 2009 11:34 pm 
Toma...@emc.comMay 26, 2009 12:19 am 
Norman WalshMay 26, 2009 5:06 am 
Norman WalshMay 26, 2009 5:07 am 
Norman WalshMay 26, 2009 5:09 am 
Dave PawsonMay 26, 2009 6:49 am 
Norman WalshMay 29, 2009 4:27 am 
Toma...@emc.comMay 29, 2009 4:47 am 
James FullerJun 1, 2009 5:07 am 
Leif WarnerJun 1, 2009 9:28 am 
James FullerJun 1, 2009 9:43 am 
Norman WalshJun 1, 2009 9:43 am 
James FullerJun 1, 2009 10:17 am 
Norman WalshJun 1, 2009 11:22 am 
Subject:Re: Fileutils
From:Dave Pawson (dave@gmail.com)
Date:May 26, 2009 6:49:45 am
List:org.w3.xproc-dev

2009/5/26 Norman Walsh <nd@nwalsh.com>:

Ok. I also proposed a 'create temporary file' step in a follup-up message.

same as 'touch' except specifies a temp file? I'm easy either way.

delete (file|directories [recurse]) copy (file|directory [recurse]) mv (file|directory)

I go the file ones. I suppose the directory options make sense.

file or directory, easier if handles either?

(I've never used 'is readable|writable|exists - but I can see it being useful) (rename? I'd prefer move)

The file properties step gives you (a superset?) of what those steps return, doesn't it?

mv (as in Unix mv)? Is that included?

Q: Should "file" be made absolute wrt to the current base URI, or left unchanged (effectively making it relative to the implementations notion of current working directory)?

Any use made of PATH variable?

No. We're not talking about executables (in general).

Treat as per current OS, i.e. could be relative or absolute?

It can always be absolute, the question is what to do if the author puts in a relative name.

Confict? XML/xproc has xml:base (or may do) My 'OS' centric view expects you to use the current path? Your choice Norm

Using base URI would make it 'odd' wrt other file utils?

Odd wrt command line file utils, but *not* doing it is odd wrt other XProc steps.

Yes, as I said, your choice, but possibly aligned with rest of xproc would annoy | catch out fewer users.

regards