胖鸭子
今天在用clear清屏时发现了cleanlinks这个工具,查了一下是清除无效符号链接的,我便sudo cleanlinks /了一下,心里乐滋滋的想真是个好东东。
Can't locate strict.pm in @INC (@INC contains: /etc/perl ...原来perl有问题了。当我想重装perl时,发现aptitude也不能用了,下面的"段子"摘自我的~/.bash_history(no是ls的别名,s是sudo的别名):
...每个修复的企图都告失败,可以想象到我当时的无奈。当我意识到是cleanlinks带来的问题时,我好怨这个愚蠢的程序,为什么在手册里没有任何警告呢。这时我想到了Xahlee(http://www.xahlee.org)的一段话:
iexplore
export @INC
iexplore
bb-
bbo
bbs
lftp
cd /var/cache/apt
no
cd archives/
no
..
no
s apt-get reinstall apt
s aptitude reinstall apt
cd archives/
s aptitude download apt
cd
s apt-get download apt
s aptitude download apt
s aptitude -f install
s dpkg-reconfigure perl
s aptitude reinstall perl
s apt-get install perl
s aptitude reinstall perl
...
以前我觉得这话很偏激,此刻的我觉得他说的还是有些道理的。Last week i bought a chain saw with a
twisted handle. Perhaps i wasn't
careful, but by accident it chopped one
of my arm off, then i thought to myself
"gosh, this is POWERFUL!". This seems to
be the fashionable mode of thinking
among the unixers or unixer-to-be, who
would equate power and flexibility with
rawness and complexity; disciplined by
repeated accidents. Such a tool would
first chop off the user's brain, molding
a mass of brainless imbeciles and
microcephalic charlatans the likes of
Larry Wall and Linus Torvald jolly
asses. --Xah Lee