shell
文章平均质量分 74
hellochenlu
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
195 - 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 7Line 8Line 9Line 10Your script原创 2016-03-15 09:10:40 · 936 阅读 · 0 评论 -
193 - 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 appear原创 2016-03-15 10:19:01 · 838 阅读 · 0 评论 -
192 - Word Frequency
Write a bash script to calculate the frequency of each word in a text file words.txt.For simplicity sake, you may assume:words.txt contains only lowercase characters and space ' ' characters原创 2016-03-15 11:18:32 · 891 阅读 · 0 评论
分享