문제

I am diff-ing two files and it scrolls off too much and I cannot see what was the diff at the start of the file. Is there a way for me to do diff and scroll line-by-line by pressing space or something or scrolling page-by-page just like the more command does?

도움이 되었습니까?

해결책

You should be able to pipe the output of diff to more, like so:

diff a.txt b.txt | more
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top