From f99d66b0761efbe13dc829ff1a79000e2c4c9b88 Mon Sep 17 00:00:00 2001 From: sqweek Date: Tue, 2 Oct 2007 22:15:18 +0800 Subject: [PATCH] Properly grep out shell variables in config_whatis (so that it's possible to use ~/.wmii-3.5/status instead of Action-status). --- rc/rc.wmii.rc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rc/rc.wmii.rc b/rc/rc.wmii.rc index da9fafa7..87aea0e1 100755 --- a/rc/rc.wmii.rc +++ b/rc/rc.wmii.rc @@ -12,7 +12,7 @@ if(echo $0 | grep -s '(^|/)rc\.wmii\.local$') { } fn config_whatis { - prog = `{@{path=$confpath whatis $1} | grep -v '^fn|= ' || echo /dev/null} + prog = `{@{path=$confpath whatis $1} | grep -v '^fn|=' || echo /dev/null} shift; echo $prog $* }