From 5fa478af40de0bb82e4870137deabeda31e6abc5 Mon Sep 17 00:00:00 2001 From: short <> Date: Thu, 5 Sep 2002 07:35:28 +0000 Subject: [PATCH] +function revlines --- .bashrc | 1 + 1 file changed, 1 insertion(+) diff --git a/.bashrc b/.bashrc index 843f2b8..ae015d3 100644 --- a/.bashrc +++ b/.bashrc @@ -118,6 +118,7 @@ function ctags {(unset ctags; fi; );}; export -f ctags function cpan {(unset cpan; if [ $# = 0 ];then cpan;else perl -MCPAN -e "install qw($*);";fi; );}; export -f cpan function exx { cd "`unset exx;exx "$@"|tee /proc/self/fd/2|tail -n1|sed -n 's/^extdir=//p'`"; };export -f exx +function revlines { perl -e 'my @r=();push @r,$_ while (<>);print pop @r while @r;'; }; export -f revlines ulimit -c 0 set +H -- 1.8.3.1