-
-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
99ceb88
commit 11fb4e3
Showing
13 changed files
with
56 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,7 +20,7 @@ | |
#include <unistd.h> | ||
#include <ctype.h> | ||
|
||
#define VERSION "v1.0" | ||
#define VERSION "v1.1" | ||
#define BUFFER_SIZE 256 | ||
|
||
static void | ||
|
@@ -35,7 +35,7 @@ static void | |
help(char * exename) | ||
{ | ||
printf( "napp - Narthex appender %s\n" | ||
"By Michael C. Dim. <[email protected]>\n\n" | ||
"By Michael Constantine Dimopoulos <[email protected]>\n\n" | ||
|
||
"-c specify charset\n" | ||
"-w specify dictionary of words\n" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,7 +21,7 @@ | |
#include <ctype.h> | ||
#include <unistd.h> | ||
|
||
#define VERSION "v1.0" | ||
#define VERSION "v1.1" | ||
#define BUFFER_SIZE 256 | ||
|
||
static void | ||
|
@@ -36,14 +36,14 @@ static void | |
help(char *exename) | ||
{ | ||
printf( "nclean - Narthex cleaner %s\n" | ||
"By Michael C. Dim. <[email protected]>\n\n" | ||
|
||
"-c Must have capital letters\n" | ||
"-n Must have numbers\n" | ||
"-s Must have symbols\n" | ||
"-l Must have min length specified\n" | ||
"-h Print this panel & exit\n" | ||
"-v Print current version & exit\n\n" | ||
"By Michael Constantine Dimopoulos <[email protected]>\n\n" | ||
|
||
"-c must have capital letters\n" | ||
"-n must have numbers\n" | ||
"-s must have symbols\n" | ||
"-l must have min length specified\n" | ||
"-h print this panel & exit\n" | ||
"-v print current version & exit\n\n" | ||
|
||
"Usage: cat [FILENAME] | %s [-c] [-n] [-s] [-l] 10\n", | ||
VERSION, exename); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,24 +28,24 @@ | |
#include <unistd.h> | ||
#include <ctype.h> | ||
|
||
#define VERSION "v1.0" | ||
#define VERSION "v1.1" | ||
#define BUFFER_SIZE 256 | ||
|
||
static void | ||
help(char * exename) | ||
{ | ||
printf( "ncom - Narthex combinator %s\n" | ||
"By Michael C. Dim. <[email protected]>\n\n" | ||
"By Michael Constantine Dimopoulos <[email protected]>\n\n" | ||
|
||
"-d Use dot separator\n" | ||
"-u Use underscore separator\n" | ||
"-m Use hyphen separator\n" | ||
"-n Exclude numerical bases\n" | ||
"-b Exclude base-appended\n" | ||
"-h Print this panel & exit\n" | ||
"-v Print current version & exit\n\n" | ||
"-d use dot separator\n" | ||
"-u use underscore separator\n" | ||
"-m use hyphen separator\n" | ||
"-n exclude numerical bases\n" | ||
"-b exclude base-appended\n" | ||
"-h print this panel & exit\n" | ||
"-v print current version & exit\n\n" | ||
|
||
"Usage: cat [FILENAME] | %s [OPTIONS]\n", | ||
"Usage: cat [FILENAME] | %s [-d] [-u] [-m] [-n] [-b]\n", | ||
VERSION, exename); | ||
exit(EXIT_SUCCESS); | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,21 +21,22 @@ | |
#include <errno.h> | ||
#include <string.h> | ||
|
||
#define VERSION "v1.2" | ||
#define VERSION "v1.3" | ||
#define BUFFER_SIZE 256 | ||
|
||
|
||
static void | ||
help(char * exename) | ||
{ | ||
printf( "nhance - Narthex enhancer %s\n" | ||
"By Michael C. Dim. <[email protected]>\n\n" | ||
"By Michael Constantine Dimopoulos <[email protected]>\n\n" | ||
|
||
"-f Append full capitalization\n" | ||
"-h Print this panel & exit\n" | ||
"-v Print current version & exit\n\n" | ||
"Usage: cat [FILENAME] | %s [OPTIONS]\n" | ||
" %s [OPTIONS] [FILENAME]\n", | ||
"-f append full capitalization\n" | ||
"-h print this panel & exit\n" | ||
"-v print current version & exit\n\n" | ||
|
||
"Usage: cat [FILENAME] | %s [-f]\n" | ||
" %s [-f] [FILENAME]\n", | ||
VERSION, exename, exename); | ||
exit(EXIT_SUCCESS); | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,20 +23,20 @@ | |
#include <string.h> | ||
#include <ctype.h> | ||
|
||
#define VERSION "v1.1" | ||
#define VERSION "v1.2" | ||
#define BUFFER_SIZE 256 | ||
|
||
static void | ||
help(char * exename) | ||
{ | ||
printf( "ninc - Narthex incrementor %s\n" | ||
"By Michael C. Dim. <[email protected]>\n\n" | ||
"By Michael Constantine Dimopoulos <[email protected]>\n\n" | ||
|
||
"-n Increment numerical lines as well\n" | ||
"-h Print this panel & exit\n" | ||
"-v Print current version & exit\n\n" | ||
"-n increment numerical lines as well\n" | ||
"-h print this panel & exit\n" | ||
"-v print current version & exit\n\n" | ||
|
||
"Usage: cat [FILENAME] | %s [MIN] [MAX] [OPTIONS]\n", | ||
"Usage: cat [FILENAME] | %s [MIN] [MAX] [-n]\n", | ||
VERSION, exename); | ||
exit(EXIT_SUCCESS); | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,18 +24,18 @@ | |
#include <errno.h> | ||
#include <string.h> | ||
|
||
#define VERSION "v1.2" | ||
#define VERSION "v1.3" | ||
#define BUFFER_SIZE 256 | ||
|
||
|
||
static void | ||
help(char * exename) | ||
{ | ||
printf( "nleet - Narthex leetfier %s\n" | ||
"By Michael C. Dim. <[email protected]>\n\n" | ||
"By Michael Constantine Dimopoulos <[email protected]>\n\n" | ||
|
||
"-h Print this panel & exit\n" | ||
"-v Print current version & exit\n\n" | ||
"-h print this panel & exit\n" | ||
"-v print current version & exit\n\n" | ||
"Usage: cat [FILENAME] | %s\n" | ||
" %s [FILENAME]\n", | ||
VERSION, exename, exename); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,15 +9,17 @@ | |
# ary, it will reprint it again but | ||
# with each line reversed. | ||
|
||
version="1.0" | ||
version="1.1" | ||
|
||
if [ "$1" = "-v" ]; then echo version; exit; | ||
elif [ "$1" = "-h" ]; | ||
then | ||
printf "nrev - Narthex reverser ${version} \n"; | ||
printf "By Michael C. Dim. <[email protected]>\n\n"; | ||
printf '%s\n' "-h Print this panel & exit"; | ||
printf '%s\n\n' "-v Print current version & exit"; | ||
printf "By Michael Constantine Dimopoulos <[email protected]>\n\n"; | ||
|
||
printf '%s\n' "-h print this panel & exit"; | ||
printf '%s\n\n' "-v print current version & exit"; | ||
|
||
printf "Usage: nrev [FILENAME]\n"; | ||
printf " cat [FILENAME] | nrev\n"; | ||
exit; | ||
|