0.0
The project is in a healthy, maintained state
writes to a file
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Runtime

 Project Readme

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