On Fri, Sep 07, 2001 at 02:16:09PM -0700, Robert G. Werner wrote:
> You realize, of course, that everytime you press return, this will
> invoke perl in all it's 5MB glory?
But for modern operating systems, that shouldn't be much of a problem;
they will know Perl is still swapped in. I call Perl each time I change
directories, and that doesn't have a noticeble effect either.
function cd () {
if builtin cd "$@"
then ls -l | perl -pe 's/^(.{78})...*/$1>/;' | page
fi
}
Abigail
