l12.1a

来自「<B>Digital的Unix操作系统VAX 4.2源码</B>」· 1A 代码 · 共 43 行

1A
43
字号
#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 + =
减小字号Ctrl + -
显示快捷键?