[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
mistake leeds to wierdnes
Hi all,
Funny thing happen to me, i just can't explain it,
so maybe one of you can. anyways ...
I was playin with perldoc, so i typed
% perldoc PerlFunc
thats should have opened /usr/lib/perl5/pod/PerlFunc.pod, but instead i got
a "can't open /usr/lib/perl5/pod/PerlFunc.pod: No such file or directory "
error. well i was in a playing mood, so instead of
% cd /usr/lib/perl5/pod/
i did a
% cd `perldoc PerlFunc>/tmp/f&&cat /tmp/f|awk '{print $3}' \
|sed -e 's/\w*\..*$//'&&rm /tmp/f`.
Because i forgot the & to redirect the error too, that didnt work.
what did happen however, and this is the wierd part, was me ending up
at /var/spool. the message was:
can't open /usr/lib/perl5/pod/PerlFunc.pod: No such file
or directory at /usr/bin/pod2man line 394.
/var/spool
%
% pwd
/var/spool
Ha ? where did that /var/spool came from ? what brought me there ?
I tried to take a part the commands args to see what did that, but nothing.
oh well, its the weakend ;P
--
Guy Cohen <guy@spice.org.il>
22 92 FC 05 BF 23 4A F2 AC 1A B9 37 F9 00 41 22
finger jago@netvision.net.il for public key.