4 ms·
The utility 'sponge' is useful for doing this in the general case.
by burgerbrain 15y ago
The utility 'sponge' is useful for doing this in the general case.
- AlecSchueler 15y agoPart of the 'moreutils' package, for the curious. The description for sponge on the project homepage reads "soak up standard input and write to a file."