Linux Shell
大家叫我陈老师
北邮研二在读,研究方向通信算法,关注机器学习
展开
-
【Leetcode Shell】Transpose File
题目: Given a text file file.txt, transpose its content. You may assume that each row has the same number of columns and each field is separated by the ' ' character. For example, if file原创 2015-05-03 12:30:37 · 865 阅读 · 0 评论 -
【Leetcode Shell】Word Frequency
【Leetcode Shell】Word Frequency原创 2015-05-01 10:49:43 · 623 阅读 · 0 评论 -
【Leetcode Shell】Tenth Line
主要知识点:反引号,wc,awk,if,sed,head命令。原创 2015-05-01 16:12:09 · 636 阅读 · 0 评论 -
【Leetcode Shell】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 assume that a valid phone number must原创 2015-05-01 19:04:25 · 630 阅读 · 0 评论