![]() |
![]() |
![]() |
![]() |
Formatting text?
Yes, formatting text. There are a number of situations within the Razor flow of events where it is handy to be able to judiciously add carriage returns to otherwise long, run-on sequences of characters. We opted to implement a very simple text formatter, modeled after the `fmt' program available with Sun's flavor of UNIX.
# razor fmt [-width] [<filename>]
The program will read text from its standard input, or from the optionally supplied filename, and print to its standard output. This is a simple text formatter which fills and joins lines to produce output lines of (up to) the number of characters specified in the -width option. The default width is 80. Blank lines are preserved in the output, as is the spacing between words.
![]() |
![]() |
![]() |
![]() |
(Part 10 of 12 for this section) (Generated 09/13/99 at 18:01:58) |
Copyright Tower Concepts http://www.tower.com Voice: 315-363-8000 Fax: 315-363-7488 support@tower.com sales@tower.com |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |