X-Git-Url: https://git.jankratochvil.net/?a=blobdiff_plain;f=.bashrc;h=4cf2f830b39a8f7c8b7c933b17b28017fbcafd29;hb=88f6cc4e1026d93024961c054dc5b6f52ea09e31;hp=f6fb4b1e61eaa2931279916259bf75022e478395;hpb=b39959b04b6fa71ca1c475811b5aa4dab70df0f2;p=nethome.git diff --git a/.bashrc b/.bashrc index f6fb4b1..4cf2f83 100644 --- a/.bashrc +++ b/.bashrc @@ -77,6 +77,10 @@ function cvsignore { done }; export -f cvsignore function cvsignorerm { cvsignore | xargs rm -f; }; export -f cvsignorerm +function cvsignoreall { + (find -type f|sed -e '\#/CVS/[^/]*$#d' -e 's#^\./##';cvsfiles)|sort|uniq -c|sed -n "s/^ *1`echo -e '\t'`//p" + }; export -f cvsignoreall +function cvsignoreallrm { cvsignoreall | xargs rm -f; }; export -f cvsignoreallrm 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 @@ -89,7 +93,7 @@ function edall { done }; export -f edall function mi { ( - set -ex;cd "$1";while true;do test "$PWD" != "/";if [ -e configure.in ];then break;fi;cd ..;done;make install; + set -ex;cd "$1";while true;do test "$PWD" != "/";if [ -e configure.in -o -e Makefile.PL ];then break;fi;cd ..;done;make install; ); };export -f mi ulimit -c 0