Write stdin to one or more files.
gem install dorian-writeAlso included in the aggregate gem:
gem install dorianwrite [options] file [file ...]Run write -h for generated option details and write -v for the installed version.
- By default replaces file content. Use
--append/-aor--prepend/-pto keep existing content.
grep important notes.txt | write important.txtdate | write --append log.txt