dacaprice.com from fitness to technology.

11Nov/090

Changing sdiff column width in Linux

I use sdiff pretty often to do a side-by-side comparison of config files on my Linux box. The thing that annoys me the most is the default column width; often whatever it is I am comparing, gets cut short because the width is too narrow. I like use the -w ColumnWidth to set a wider width and the -s to supress any common lines.

[dacaprice@fedora]$ sdiff -s -w 150 file1 file2

Tagged as: Leave a comment
Comments (0) Trackbacks (0)

No comments yet.


Leave a comment


No trackbacks yet.