4 releases

0.2.1 Oct 24, 2024
0.2.0 Jul 31, 2024
0.1.1 Apr 21, 2024
0.1.0 Jun 4, 2022

#830 in Command line utilities

Download history 117/week @ 2024-07-30 6/week @ 2024-09-10 4/week @ 2024-09-17 11/week @ 2024-09-24 21/week @ 2024-10-01 123/week @ 2024-10-22 7/week @ 2024-10-29

130 downloads per month

MIT license

8KB
65 lines

$ tw -h
Command line interface for textwrap

Usage: tw [OPTIONS] <INPUT_FILES>...

Arguments:
  <INPUT_FILES>...  Input file(s); use `-` to read from standard input

Options:
  -w <WIDTH>      Width [default: 80]
  -e <EOL>        End of line string [default: \]
  -h, --help      Print help
  -V, --version   Print version
$ tw -V
tw 0.2.1
$ echo abc def ghi jkl mno pqr stu vwx yz |tw -w 13 -
abc def ghi\
jkl mno pqr\
stu vwx yz

Dependencies

~4–13MB
~164K SLoC