Skip to content

dorianmariecom/dorian-write

Repository files navigation

dorian-write

Write stdin to one or more files.

Install

gem install dorian-write

Also included in the aggregate gem:

gem install dorian

Usage

write [options] file [file ...]

Run write -h for generated option details and write -v for the installed version.

Notes

  • By default replaces file content. Use --append/-a or --prepend/-p to keep existing content.

Examples

Replace a file with filtered content

grep important notes.txt | write important.txt

Append stdin

date | write --append log.txt

About

No description, website, or topics provided.

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors