Narthex

Modular dictionary generator
git clone git@git.mcdim.xyz:/var/www/git/Narthex.git
Log | Files | Refs | README | LICENSE

commit d90dd3081136faa4ba9b162fa986825bc72203de
parent 9fa551129ae5d6585422dfa8b593c6a00c3ebc7f
Author: Michael Constantine Dimopoulos <mk@mcdim.xyz>
Date:   Sun, 10 Oct 2021 13:21:32 +0000

Added nclean manpage

Diffstat:
MMakefile | 7++++---
Aclean/nclean.1 | 40++++++++++++++++++++++++++++++++++++++++
2 files changed, 44 insertions(+), 3 deletions(-)

diff --git a/Makefile b/Makefile @@ -10,7 +10,7 @@ MD=/usr/share/man/man1/ # $(CC) leet/nleet.c -o nleet # $(CC) com/ncom.c -o ncom -install: inc/nin.c enhance/nhan.c leet/nleet.c com/ncom.c clean/nclean.c rev/nrev.sh wiz/nwiz.sh inc/ninc.1 enhance/nhance.1 rev/nrev.1 leet/nleet.1 com/ncom.1 +install: inc/nin.c enhance/nhan.c leet/nleet.c com/ncom.c clean/nclean.c rev/nrev.sh wiz/nwiz.sh inc/ninc.1 enhance/nhance.1 rev/nrev.1 leet/nleet.1 com/ncom.1 clean/nclean.1 $(CC) enhance/nhan.c -o nhance $(CC) inc/nin.c -o ninc $(CC) leet/nleet.c -o nleet @@ -29,15 +29,16 @@ install: inc/nin.c enhance/nhan.c leet/nleet.c com/ncom.c clean/nclean.c rev/nre sudo cp inc/ninc.1 $(MD) sudo cp leet/nleet.1 $(MD) sudo cp com/ncom.1 $(MD) + sudo cp clean/nclean.1 $(MD) sudo cp rev/nrev.1 $(MD) sudo mandb -uninstall: /bin/ninc /bin/nhance /bin/nrev /bin/nleet /bin/ncom /bin/nclean /bin/nwiz $(MD)ninc.1 $(MD)nhance.1 $(MD)nrev.1 $(MD)nleet.1 $(MD)ncom.1 +uninstall: /bin/ninc /bin/nhance /bin/nrev /bin/nleet /bin/ncom /bin/nclean /bin/nwiz $(MD)ninc.1 $(MD)nhance.1 $(MD)nrev.1 $(MD)nleet.1 $(MD)ncom.1 $(MD)nclean.1 rm /bin/ninc $(MD)ninc.1 rm /bin/nhance $(MD)nhance.1 rm /bin/nleet $(MD)nleet.1 rm /bin/nrev $(MD)nrev.1 rm /bin/ncom $(MD)ncom.1 - rm /bin/nclean + rm /bin/nclean $(MD)nclean.1 rm /bin/nwiz rm -r /var/lib/narthex/ diff --git a/clean/nclean.1 b/clean/nclean.1 @@ -0,0 +1,40 @@ +.\" Manpage for ncom + +.TH man 8 "10 Oct 2021" "1.0" "nclean manual page" +.SH NAME +nclean \- Narthex cleaner +.SH SYNOPSIS +cat dictionary.txt | nclean [OPTIONS] > output.txt +.SH DESCRIPTION +nclean iterates over stdin and prints all lines that meet your specified criteria of length and charset. + +.SH OPTIONS +-c print lines that have capitalised letters + +-n print lines that have numbers + +-s print lines that have special characters + +-l print lines of length greater or equal to that specified + +-v print version and exit + +-h print help panel and exit + +.SH EXAMPLES + +This will output only the lines of length >= 6 that include capital letters: + +cat dictionary.txt | nclean -l 6 -c > output.txt + +This will output only the lines that have special characters: + +cat dictionary.txt | nclean -s > output.txt + +.SH AUTHOR +Michael Constantine Dimopoulos <mk@mcdim.xyz> + +https://mcdim.xyz + +.SH LICENSE +GNU General Public License 3.0 (GPL-3.0)