Skip to content
Advertisement

Tag: cmp

linux cmp utility output: what is a “line”?

Could someone tell me what the “line” number represents in the output of a cmp command? I ask this because, first, I can’t find it explained anywhere. Second, I am getting results comparing a set of files where the “char” outputs are identical (as expected) but the “line” outputs differ wildly. Answer The “line” outputs reflect the number of newline

Advertisement