5 releases

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

#1521 in Command line utilities

Download history 8/week @ 2024-09-13 8/week @ 2024-09-20 20/week @ 2024-09-27 6/week @ 2024-10-04 68/week @ 2024-10-18 59/week @ 2024-10-25 3/week @ 2024-11-01 56/week @ 2024-11-29

56 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.2
$ 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
~165K SLoC