Web server - Chapter 4 . Processing Text 181 Option Use

Chapter 4 . Processing Text 181 Option Use -w BYTES Outputs the specified number of BYTES per line. The default width is 32 bytes. –help Displays help information and exits. –version Displays version information and exits. The following is an example of the use of the od utility. In this example, the nicks file is displayed in hexadecimal format with a width of eight bytes. # od -A x -w8 nicks 000000 060502 066555 063541 005145 000008 062522 066570 071157 064564 000010 005163 060512 065543 066171 000018 042012 060562 067547 071556 000020 071164 040412 061554 062550 000028 064555 072163 045012 071565 000030 057564 067552 005145 067512 000038 060550 005156 072123 067151 000040 005147 060504 062566 052012 b000048 067550 060555 005163 062516 000050 061564 064550 065543 047012 000058 072145 072552 065556 062551 000060 050012 064562 055012 070141 000068 067550 020144 046012 071157 000070 071144 066541 000012 000075 Exam Tip You should pay close attention to these rarely used utilities such as od and join, as they make excellent exam material. Converting files for printing The pr utility formats and prepares files for printing. The prutility writes each file to standard output, paginating and optionally outputting the file in multicolumn format. It also can merge all files, printing all in parallel, one per column. An example of the correct syntax for this utility is as follows: pr -options FILE By default, a five-line header is printed at each page: two blank lines, a line with the date, the filename, and the page count, and two more blank lines. A footer of five blank lines is also printed. Several options can be used to specify the formatting produced with the pr utility. Several of these options are shown in Table 4-13.
We highly recommend you visit web and email hosting services if you need stable and cheap web hosting platform for your web applications.

Leave a Reply