From 8c2351422f3bda5883994236e1bdb1cb1ae9a3b9 Mon Sep 17 00:00:00 2001 From: short <> Date: Tue, 9 Oct 2001 21:56:27 +0000 Subject: [PATCH] +function ulimitme +function grep --- .bashrc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.bashrc b/.bashrc index 27454ea..1374a6d 100644 --- a/.bashrc +++ b/.bashrc @@ -60,6 +60,8 @@ function cvsupdate { cvs update "$@" 2>&1| less; }; export -f cvsup function cvsupdatei { cvs update "$@" 2>&1|grep -v '^?'|less; }; export -f cvsupdatei 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 ulimit -c 0 -- 1.8.3.1