xproc / 3.0-steps

Repository for change requests to the standard step library and for official extension steps
10 stars 7 forks source link

Should p:file-touch create an empty file if href does not exist? #343

Closed gimsieke closed 4 years ago

gimsieke commented 4 years ago

While I was addressing #325 I noticed that p:file-touch only sets the modification date/time of existing files.

Should it mimic Unix touch’s behavior in that it also creates an empty file if the file specified by href does not exist (and if it is permitted at the given location)?

Conal-Tuohy commented 4 years ago

i think so, yes.

ndw commented 4 years ago

Yes, absolutely.