Chapter 4 . Processing Text 173 Michael Craig (Best web hosting site)
Chapter 4 . Processing Text 173 Michael Craig S Johannes Erdfelt S Thomas McCanta S Joakim Erdfelt S Pete Gizzi M Neil Schroeder S In this example the default setting of eight spaces is used. Because the name Johannes Erdfelt has 16 characters, the tab is expanded to the 24th character field. In the following example, the setting of 9 spaces for the tab field allows the marital status fields to line up evenly. # expand -t 9 marital Scott Bessler S Jason Nash M Angie Nash M Derek Stutsman M Jeff Arellano S Paul Ward M Alex Blauvelt S Peter Anapol M David Goolsby S Michael Craig S Johannes Erdfelt S Thomas McCanta S Joakim Erdfelt S Pete Gizzi M Neil Schroeder S Formatting paragraphs The fmt utility formats each paragraph in a file and sends the output to the standard output. This utility is used to specify the width of lines and joins or separates lines in an effort to produce lines that are all the same length. The fmt utility attempts to separate lines at the end of a sentence. When this isn t possible, it avoids breaking lines after the first word or before the last word of the sentence. Sentences are determined to end with either a period, exclamation, or question mark (.!?) followed by two spaces or a line feed character. The entire paragraph is read before any line breaks are introduced. The default line width used with fmt is 75 characters. The default width can be overwritten using the appropriate option with the fmtutility. Table 4-6 covers some of the options used with this utility.
In case you need affordable webhost to host your website, our recommendation is ecommerce web host services.