summaryrefslogtreecommitdiff
path: root/startmode.c
diff options
context:
space:
mode:
Diffstat (limited to 'startmode.c')
-rw-r--r--startmode.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/startmode.c b/startmode.c
index a6f1395..988b6fd 100644
--- a/startmode.c
+++ b/startmode.c
@@ -11,7 +11,7 @@ int NCAT(char filename[]) {
file = fopen(filename,"r");
if (file == NULL) {
- fprintf(stderr, "Cannot open file.\n");
+ fprintf(stderr, "Cannot open file. NCAT\n");
return 1;
}
@@ -127,6 +127,12 @@ int startmode(char filename[]) {
case 'A':
NCAT(filename);
break;
+ case 'n':
+ case 'N':
+
+ NEW_LINE(filename);
+
+ break;
default:
fprintf(stdout, "?\n");
}