[TUHS] sh: cmd | >file

Doug McIlroy doug at cs.dartmouth.edu
Sat Jan 4 12:58:56 AEST 2020


> I'm interested in the possible motivations for a redirection to be
> a simple command.

I use it to truncate a file to zero length.
Or to create (an empty) file.

Doug


More information about the TUHS mailing list