From: Mark G. S. <mar...@ya...> - 2006-01-31 08:16:30
|
Andreas Kupries wrote: >I have (over time) collected a set of convenient commands operating >on/with whole files which seem to belong directly into either the >fileutil namespace, or a related namespace, like 'fileutil::FOO'. > > > touch PATH > > Creates empty file at PATH. Deletes any pre-existing > file in this location. > > I believe fileutil::touch (or whatever) should be compatible with unix 'touch' comand and NOT delete an existing file - it should only "Update the access and modification times of each FILE to the current time.existing file" Also, the touch command is the only one which does not change the contents of a file, and maybe should be in a different namespace/package ? -- Mark G. Saye markgsaye @ yahoo.com |