摘要: 判断字符串是否是回文:1、输入:hello world dlrow olleh输出:12、输入:nihao hello输出:0代码#include #include int palindrome(char * p){ if(NULL == p) { return 0; ... 阅读全文
posted @ 2015-03-05 13:31 fengbohello 阅读(259) 评论(0) 推荐(0) 编辑
摘要: xargs的作用一般等同于大多数Unix shell中的反引号,但更加灵活易用,并可以正确处理输入中有空格等特殊字符的情况。对于经常产生大量输出的命令如find、locate和grep来说非常有用。 阅读全文
posted @ 2015-03-05 13:16 fengbohello 阅读(217) 评论(0) 推荐(0) 编辑