Hacker News new | ask | show | jobs
by mytailorisrich 1822 days ago
You're absolutely correct, it's not idempotent for the crucial reason you mention. It's crucial because updating the timestamps is the main purpose of 'touch' in the first place!