Workarounded (?) bash-2.03-74 function exporting
authorshort <>
Tue, 9 Oct 2001 22:25:47 +0000 (22:25 +0000)
committershort <>
Tue, 9 Oct 2001 22:25:47 +0000 (22:25 +0000)
.bashrc

diff --git a/.bashrc b/.bashrc
index 1374a6d..c675fb6 100644 (file)
--- a/.bashrc
+++ b/.bashrc
@@ -61,7 +61,7 @@ function cvsupdatei { cvs update "$@" 2>&1|grep -v '^?'|less; }; export -f cvsup
 
 function wclines { awk '{x[$0]++}END{for (i in x) print x[i]"\t"i}'; }; export -f wclines
 function ulimitme { ulimit -m 100000 -d 150000 -v 200000; }; export -f ulimitme
-eval "function grep { ( ulimitme; `which grep` "'"$@"'"; ); }"; export -f grep
+function grep { ( ulimitme; `which grep` "$@"; ); }; export -f grep
 
 ulimit -c 0