aboutsummaryrefslogtreecommitdiff
path: root/source/00_content/pages/projects/justify.md
blob: bb12cfbe29c543cbaa79d3f5aeef9a4dd666fe30 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# justify

...is a single purpose program for block justification of UTF-8 encoded monospace text.

Textual input is read from _STDIN_ and written to _STDOUT_ in its justified form. The default output width of 60 characters may be customized via `--length`. Optionally an offset of leading spaces may be defined using `--offset`.

i.e. `echo "$the_paragraph_above" | justify --length 40` results in:

	Textual input  is  read from _STDIN_ and
	written  to  _STDOUT_  in  its justified
	form.  The  default output  width  of 60
	characters    may   be    customized via
	`--length`.  Optionally   an   offset of
	leading   spaces  may  be  defined using
	`--offset`.

The MIT licensed source code is available on both [Github] and [cgit].

[Github]: https://github.com/KnairdA/justify/
[cgit]: https://code.kummerlaender.eu/justify/