aboutsummaryrefslogtreecommitdiff
path: root/README.md
blob: d6c6d3ca8a23acdc7a70454a87fd2bd7defe4bf1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# 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 the first application argument.

i.e. `echo "$the_paragraph_above" | justify 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 the
	first application argument.

## Build

	mkdir build
	cd build
	cmake ..
	make

A current C++ compiler with support for C++14 is required.