02.05.2013 Views

Description - Mks.com

Description - Mks.com

Description - Mks.com

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

-s<br />

corresponding files under corresponding subdirectories. You can use this option when you<br />

specify two directory names on the <strong>com</strong>mand line.<br />

<strong>com</strong>pares two directories, file by file, and prints messages for identical files between the two<br />

directories.<br />

-U[b|B|l|L]<br />

forces the specified files to be treated as Unicode files.<br />

-w<br />

By default, diff assumes that Unicode characters are little-endian. If a byte-order marker is<br />

present, that is used to determine the byte order for the characters. You can force Unicode<br />

characters to be treated as big-endian by specifying -Ub or -UB. Similarly, you can force<br />

them to be treated as little-endian by specifying -Ul or -UL.<br />

ignores white space (not including newlines) when making the <strong>com</strong>parison. For example,<br />

the following two lines are equivalent:<br />

a b c d<br />

abcd<br />

EXAMPLES<br />

The following example illustrates the output of the diff <strong>com</strong>mand. The following two files, price1<br />

and price2, are <strong>com</strong>pared with and without the use of the -c option.<br />

The contents of price1 are as follows:<br />

Company X Price List:<br />

$ 0.39 -- Package of Groat Clusters<br />

$ 5.00 -- Candy Apple Sampler Pack<br />

$ 12.00 -- Box of Crunchy Frog Chocolates<br />

$ 15.99 -- Instant Rain (Just Add Water)<br />

$ 20.00 -- Asparagus Firmness Meter<br />

$ 25.00 -- Package of Seeds for 35 Herbs<br />

$ 30.00 -- Child's Riding Hood (Red)<br />

$ 35.00 -- Genuine Placebos<br />

$ 45.00 -- Case of Simulated Soy Bean Oil<br />

$ 75.88 -- No-Name Contact Lenses<br />

$ 99.99 -- Kiddie Destructo-Bot<br />

$125.00 -- Emperor's New Clothes<br />

379 of 457

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!