📄 l12.1a
字号:
#printAnother very useful command is the command diff x ywhich compares two files. It will not printany output if the two files are the same, butif the files are different it will printout the lines that are changed in the two files,indicating the lines from the first file (x) by a leading "<"and the lines from the second file (y) by a leading ">".There are two files in this directory named "old" and "new".Why don't you first print both files, and thentry using "diff" to compare them? Suppose the fileswere hundreds of lines long, and you needed to knowthe single difference - do you see how valuable "diff" can be?As evidence that you did at least half of this,type "answer word" where "word" is the word added to thesecond file.#create newFour score and sevenyears ago our fathersbrought forth on thiscontinent a new nation,conceived in libertyand dedicated to the proposition that allmen are created equal.#create oldFour score and sevenyears ago our fathersbrought forth on thiscontinent a new nation,conceived in libertyand dedicated the proposition that allmen are created equal.#copyin#user#uncopyin#match to#log#next13.01a
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -