1Force PATTERN to match only whole words. A "whole word" is a 2substring which either starts at the beginning or the record or is 3preceded by a non-word constituent character. Similarly, the 4substring must either end at the end of the record or be followed by a 5non-word constituent character. Word-constituent characters are 6alphanumerics (as defined by the current locale) and the underscore 7character. Note that the non-word constituent characters must 8surround the match; they cannot be counted as errors. 9 10Set cost of incorrect characters to NUM. Note that a deletion (a 11missing character) and an insertion (an extra character) together 12constitute a substituted character, but the cost will be the that of a 13deletion and an insertion added together. Thus, if the const of a 14substitution is set to be larger than the sum of the costs of deletion 15and insertion, direct substitutions will never be done. 16 17Set the record delimiter regular expression to PATTERN. The text 18between two delimiters, before the first delimiter, and after the last 19delimiter is considered to be a record. The default record delimiter 20is the regexp "\n", so by default a record is a line. PATTERN can be 21any regular expression that does not match the empty string. For 22example, using -d "^From " defines mail messages as records in a 23Mailbox format file. 24