summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorToby Goodwin <toby@paccrat.org>2018-03-19 21:50:11 +0000
committerToby Goodwin <toby@paccrat.org>2018-03-19 21:50:11 +0000
commit79fcb6da5a44da33459122881085297c35e781f1 (patch)
tree682270ea328002047faa0e750584a99f9cbafe13 /main.c
parent54ccf74c675696318b697182573a86668fe36f50 (diff)
implement $nl and $tab, issue #43
Diffstat (limited to 'main.c')
-rw-r--r--main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/main.c b/main.c
index c5dc5d5..76e5c61 100644
--- a/main.c
+++ b/main.c
@@ -83,11 +83,13 @@ quitopts:
inithash();
initparse();
assigndefault("ifs", " ", "\t", "\n", (void *)0);
+ assigndefault("nl", "\n", (void *)0);
#ifdef DEFAULTPATH
assigndefault("path", DEFAULTPATH, (void *)0);
#endif
assigndefault("pid", nprint("%d", rc_pid), (void *)0);
assigndefault("prompt", "; ", "", (void *)0);
+ assigndefault("tab", "\t", (void *)0);
assigndefault("version",
VERSION,
"$Release: @(#)" PACKAGE " " VERSION " " DESCRIPTION " $",