Hello to everyone.

At the risk of RTFM.

I've been reading the man page of which(1), where in the
recommendations section for alias (on sh) they have this code :

=================================
            which () 
            { 
              (alias; declare -f) | /usr/bin/which --tty-only
--read-alias --rea
d-functions --show-tilde --show-dot $@ 
            } 
            export -f which 
=================================

I can't quite understand the purpose of this "(alias; declare -f)" expression.
On my machine this code seems to do nothing.

Could someone please clarify things.

Thank you.

-- 
Cheers, 
Maxim Vexler (hq4ever).

Do u GNU ?
--
[email protected] mailing list

Reply via email to