Well, I don’t knwo what a parity file is, so maybe that is not even the right package. But I will assume so for now. So I installed it. But then I get command not found: par. Okay, I check whether it was actually installed:
▶ rpm -qa --last | grep par
par-0.8.0-1.3.x86_64 Sat 25 Aug 2018 12:42:41 PM CEST
Sure enough it is. Now I want to query where it is installed:
Hi
Probably just easier to build from source and drop in your ~/bin directory (need make and gcc-c++ installed)?
wget http://www.nicemice.net/par/Par152.tar.gz
--2018-08-25 10:24:12-- http://www.nicemice.net/par/Par152.tar.gz
Resolving www.nicemice.net (www.nicemice.net)... 96.93.119.89
Connecting to www.nicemice.net (www.nicemice.net)|96.93.119.89|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 47999 (47K) [application/x-tar]
Saving to: ‘Par152.tar.gz’
Par152.tar.gz 100%==================================================================================================>] 46.87K 306KB/s in 0.2s
2018-08-25 10:24:13 (306 KB/s) - ‘Par152.tar.gz’ saved [47999/47999]
tar xvf Par152.tar.gz
Par152/
Par152/buffer.c
Par152/buffer.h
Par152/charset.c
Par152/charset.h
Par152/errmsg.c
Par152/errmsg.h
Par152/par.1
Par152/par.c
Par152/par.doc
Par152/protoMakefile
Par152/reformat.c
Par152/reformat.h
Par152/releasenotes
cd Par152/
make -f protoMakefile
cc -c buffer.c
cc -c charset.c
cc -c errmsg.c
cc -c par.c
cc -c reformat.c
cc buffer.o charset.o errmsg.o par.o reformat.o -o par
cp par ~/bin/par
which par
~/bin/par
par help
Options for par:
help print option summary ---------- Boolean parameters: ---------
version print version number b<body> let non-trailing body chars in
B<op><set> as <op> is =/+/-, prefix, non-leading in suffix
replace/augment/diminish c<cap> count all words as capitalized
body chars by <set> d<div> use indentation as a delimiter
P<op><set> ditto for protective chars E<Err> send messages to stderr
Q<op><set> ditto for quote chars e<expel> discard superfluous lines
-------- Integer parameters: -------- f<fit> narrow paragraph for best fit
h<hang> skip IP's 1st <hang> lines g<guess> preserve wide sentence breaks
in scan for common affixes i<invis> hide lines inserted by <quote>
p<prefix> prefix length j<just> justify paragraphs
r<repeat> if not 0, force bodiless l<last> treat last lines like others
lines to length <width> q<quote> supply vacant lines between
s<suffix> suffix length different quote nesting levels
T<Tab> tab stops every <Tab> cols R<Report> print error for too-long words
w<width> max output line length t<touch> move suffixes left
See par.doc or par.1 (the man page) for more information.