专注各种脚本编程
Baidu
加入收藏夹
本站内容有下面分类知识,欢迎您的到来^_^
shell相关:指令篇 基础篇 脚本欣赏 编程实例 shell问问 shell视频教程 技巧篇 水平测试 E文资料 vi编辑器 高级Bash脚本编程指南
其他:mysql perl c语言 oracle
当前位置:| 主页>shell技巧/应用篇>

发掘UNIX shell的幽默

百度收藏 QQ搜藏

Unix/linux Shell 的一些提示信息有时候确实会让人摸不着头脑,大家看看放松一下。

---------------------------------------
这个是使用C shell.

% rm meese-ethics
rm: messe-ethics nonexistent

% ar m God
ar: God does not exist

% “How would you rate Dan Quayle’s incompetence?
Unmatched “.

% ^How did the sex change^ operation go?
Modifier failed.

% If I had a ( for every $ the Congress spent, what would I have?
Too many (‘s

% make love
Make: Don’t know how to make love. Stop.

% sleep with me
bad character

% got a light?
No match

% man: why did you get a divorce?
man: Too many arguments.

% ^What is saccharine?
Bad substitute.

% %blow
%blow: No such job. (Hinus按:这句话我起初也没明白过来,还是想起老黄学王俊龙的一句话,才恍然的。)

下面来自Bourne Shell的幽默作品:

$ PATH=pretending! /usr/ucb/which sense
no sense in pretending

$ drink <bottle; opener
bottle: cannot open
opener: not found

$ mkdir matter; cat >matter
matter: cannot create
 
哈哈,真不愧是老外的幽默........

上一篇:怎么用sed命令删除由空格组成的空行? 下一篇:awk/tr/grep处理文本问题例子

power by soyo123 2007-2008