in reply to Re: cleaning out a file
in thread cleaning out a file

Actually, 'touch' does a lot more than that. Most people only use it for its default behavior, but it can change the access and modification times to anything you want - which can be occassionally very useful. For the record, using a system("touch") is not very portable, especially when you can do the same thing in perl easy enough.