dylanaraps / pure-sh-bible

📖 A collection of pure POSIX sh alternatives to external processes.
MIT License
6.45k stars 281 forks source link

Differentiate touch and truncate #23

Open chambln opened 4 years ago

chambln commented 4 years ago

Since :>file can potentially destroy important data, I think this is an important distinction to make. But I'm not sure this is the neatest way to do it. It might be better just to have a note reminding readers that > overwrite files completely.