On Fri, Mar 13, 2015 at 8:12 PM, Paul Graydon <p...@paulgraydon.co.uk>
wrote:

> I've always done:
> echo > /path/to/filename
>

That one's actually a bit unsafe because it writes a newline to the file.
And csh behaves differently from sh. (And then we get into, if you want to
suppress the newline, how different echo implementations do so.)

-- 
brandon s allbery kf8nh                               sine nomine associates
allber...@gmail.com                                  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net
_______________________________________________
Tech mailing list
Tech@lists.lopsa.org
https://lists.lopsa.org/cgi-bin/mailman/listinfo/tech
This list provided by the League of Professional System Administrators
 http://lopsa.org/

Reply via email to