2015年3月29日

Java运算符优先级

摘要: http://www.cnblogs.com/gw811/archive/2012/10/13/2722752.htmlJava运算符优先级序列号符号名称结合性(与操作数)目数说明1.点从左到右双目( )圆括号从左到右[ ]方括号从左到右2+正号从右到左单目-负号从右到左单目++自增从右到左单目前缀... 阅读全文

posted @ 2015-03-29 15:09 琼华 阅读(149) 评论(0) 推荐(0) 编辑

Tenth Line

摘要: How would you print just the 10th line of a file?For example, assume that file.txt has the following content:Line 1Line 2Line 3Line 4Line 5Line 6Line ... 阅读全文

posted @ 2015-03-29 14:42 琼华 阅读(151) 评论(0) 推荐(0) 编辑

Valid Phone Numbers

摘要: Given a text file file.txt that contains list of phone numbers (one per line), write a one liner bash script to print all valid phone numbers.You may ... 阅读全文

posted @ 2015-03-29 14:26 琼华 阅读(359) 评论(0) 推荐(0) 编辑

《find技巧》-“linux命令五分系列”之一

摘要: 一天一个命令,做个记录,我要成大神,哈哈哈本原创文章属于《Linux大棚》博客。博客地址为http://roclinux.cn。文章作者为roc希望您能通过捐款的方式支持Linux大棚博客的运行和发展。请见“关于捐款”==先看例子,对find有个大致的了解,最后作总结(如果你只想温习,可以直接到最后... 阅读全文

posted @ 2015-03-29 14:13 琼华 阅读(190) 评论(0) 推荐(0) 编辑

导航