Только покажите новые функции и возможности в файле

Я вполне уверен бета, интегрирующее программное обеспечение Linux не поддерживает человечность, только Redhat и SuSe. Не уверенный Вы собираетесь получить много справки здесь.

4
задан 29 November 2011 в 13:59
2 ответа

If you want to get the additions only you can filter the output such as:

$ diff test.log.before test.log.after | grep "^>" | cut -c 3-

However, you will lose the deletions if any.

3
ответ дан 3 December 2019 в 03:00

If you always do a before and after such that the end of the after file will contain the new content then you could use comm.

$ cat before 
aaa
bbb

$ cat after
aaa
bbb
ccc

$ comm -3  after before
ccc
4
ответ дан 3 December 2019 в 03:00

Теги

Похожие вопросы