Using sdiff properly

as many people using sdiff in the wrong way, most of people just want the diffrence. if you have only 100 or 200 line it’s fine. what happen if you have 100000 lines compare to 100000 lines.

#FILE_TES1=yourfile.log
#FILE_TES2=yourfile2.log

#sdiff -bBWs $FILE_TES1 $FILE_TES2

this will output only the diffrence

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s