If we wish to count lines of code, we should not regard them as lines produced but as lines spent. (Edsger Dijkstra).
如果我们要数代码的行数,我们不该把他们当成生产出来的行数,而是花费掉的行数。
The first clause, ls -A, is a verb and enumerates the contents of the current directory; the second clause, wc -l, is another verb to count lines.
它包含两个句子。 第一个句子 ls -A 是动词结构,列举当前目录下的内容,第二个句子 wc -l 是另一个动词结构,用于计算行数。
You will learn how to display text, sort it, count words and lines, and translate characters, among other tasks.
您将学习如何显示文本、执行排序、计算单词和行数、转换字符,以及其他任务。
应用推荐