home *** CD-ROM | disk | FTP | other *** search
/ ARM Club 1 / ARM_CLUB_CD.iso / contents / apps / languages / progs / gawk / GAWK / CP < prev    next >
Encoding:
Text File  |  1991-02-14  |  14.2 KB  |  275 lines

  1. \entry {uses of awk}{1}{uses of \code {awk}}
  2. \entry {acronym}{1}{acronym}
  3. \entry {history of awk}{1}{history of \code {awk}}
  4. \entry {manual, using this}{9}{manual, using this}
  5. \entry {using this manual}{9}{using this manual}
  6. \entry {language, awk}{9}{language, \code {awk}}
  7. \entry {program, awk}{9}{program, \code {awk}}
  8. \entry {awk language}{9}{\code {awk} language}
  9. \entry {awk program}{9}{\code {awk} program}
  10. \entry {input file, sample}{9}{input file, sample}
  11. \entry {sample input file}{9}{sample input file}
  12. \entry {BBS-list file}{9}{\file {BBS-list} file}
  13. \entry {inventory-shipped file}{10}{\file {inventory-shipped} file}
  14. \entry {script, definition of}{11}{script, definition of}
  15. \entry {rule, definition of}{11}{rule, definition of}
  16. \entry {program, definition of}{11}{program, definition of}
  17. \entry {basic function of gawk}{11}{basic function of \code {gawk}}
  18. \entry {print $0}{11}{\samp {print $0}}
  19. \entry {action, default}{12}{action, default}
  20. \entry {pattern, default}{12}{pattern, default}
  21. \entry {default action}{12}{default action}
  22. \entry {default pattern}{12}{default pattern}
  23. \entry {how awk works}{12}{how \code {awk} works}
  24. \entry {command line formats}{14}{command line formats}
  25. \entry {running awk programs}{14}{running \code {awk} programs}
  26. \entry {single quotes, why needed}{15}{single quotes, why needed}
  27. \entry {standard input}{15}{standard input}
  28. \entry {input, standard}{15}{input, standard}
  29. \entry {case sensitivity}{16}{case sensitivity}
  30. \entry {pattern, case sensitive}{16}{pattern, case sensitive}
  31. \entry {running long programs}{16}{running long programs}
  32. \entry {-f option}{16}{\samp {-f} option}
  33. \entry {program file}{16}{program file}
  34. \entry {file, awk program}{16}{file, \code {awk} program}
  35. \entry {executable scripts}{17}{executable scripts}
  36. \entry {scripts, executable}{17}{scripts, executable}
  37. \entry {self contained programs}{17}{self contained programs}
  38. \entry {program, self contained}{17}{program, self contained}
  39. \entry {#!}{17}{\samp {#!}}
  40. \entry {shell scripts}{17}{shell scripts}
  41. \entry {scripts, shell}{17}{scripts, shell}
  42. \entry {comments}{18}{comments}
  43. \entry {use of comments}{18}{use of comments}
  44. \entry {documenting awk programs}{18}{documenting \code {awk} programs}
  45. \entry {programs, documenting}{18}{programs, documenting}
  46. \entry {backslash continuation}{18}{backslash continuation}
  47. \entry {continuation of lines}{18}{continuation of lines}
  48. \entry {multiple statements on one line}{19}{multiple statements on one line}
  49. \entry {when to use awk}{19}{when to use \code {awk}}
  50. \entry {applications of awk}{19}{applications of \code {awk}}
  51. \entry {reading files}{21}{reading files}
  52. \entry {input}{21}{input}
  53. \entry {standard input}{21}{standard input}
  54. \entry {FILENAME}{21}{\code {FILENAME}}
  55. \entry {record separator}{21}{record separator}
  56. \entry {RS}{21}{\code {RS}}
  57. \entry {number of records, NR or FNR}{22}{number of records, \code {NR} or \code {FNR}}
  58. \entry {NR}{22}{\code {NR}}
  59. \entry {FNR}{22}{\code {FNR}}
  60. \entry {examining fields}{22}{examining fields}
  61. \entry {fields}{22}{fields}
  62. \entry {accessing fields}{22}{accessing fields}
  63. \entry {$ (field operator)}{23}{\code {$} (field operator)}
  64. \entry {operators, $}{23}{operators, \code {$}}
  65. \entry {NF}{23}{\code {NF}}
  66. \entry {number of fields, NF}{23}{number of fields, \code {NF}}
  67. \entry {field, changing contents of}{24}{field, changing contents of}
  68. \entry {changing contents of a field}{24}{changing contents of a field}
  69. \entry {assignment to fields}{24}{assignment to fields}
  70. \entry {FS}{26}{\code {FS}}
  71. \entry {fields, separating}{26}{fields, separating}
  72. \entry {field separator, FS}{26}{field separator, \code {FS}}
  73. \entry {-F option}{26}{\samp {-F} option}
  74. \entry {field separator, choice of}{26}{field separator, choice of}
  75. \entry {regular expressions as field separators}{26}{regular expressions as field separators}
  76. \entry {field separator, setting on command line}{27}{field separator, setting on command line}
  77. \entry {command line, setting FS on}{27}{command line, setting \code {FS} on}
  78. \entry {multiple line records}{29}{multiple line records}
  79. \entry {input, multiple line records}{29}{input, multiple line records}
  80. \entry {reading files, multiple line records}{29}{reading files, multiple line records}
  81. \entry {records, multiple line}{29}{records, multiple line}
  82. \entry {getline}{30}{\code {getline}}
  83. \entry {input, explicit}{30}{input, explicit}
  84. \entry {explicit input}{30}{explicit input}
  85. \entry {input, getline command}{30}{input, \code {getline} command}
  86. \entry {reading files, getline command}{30}{reading files, \code {getline} command}
  87. \entry {input redirection}{32}{input redirection}
  88. \entry {redirection of input}{32}{redirection of input}
  89. \entry {closing input files and pipes}{34}{closing input files and pipes}
  90. \entry {close}{34}{\code {close}}
  91. \entry {printing}{37}{printing}
  92. \entry {output}{37}{output}
  93. \entry {print statement}{37}{\code {print} statement}
  94. \entry {output field separator, OFS}{39}{output field separator, \code {OFS}}
  95. \entry {OFS}{39}{\code {OFS}}
  96. \entry {ORS}{39}{\code {ORS}}
  97. \entry {output record separator, ORS}{39}{output record separator, \code {ORS}}
  98. \entry {formatted output}{40}{formatted output}
  99. \entry {output, formatted}{40}{output, formatted}
  100. \entry {printf statement, syntax of}{40}{\code {printf} statement, syntax of}
  101. \entry {format string}{40}{format string}
  102. \entry {printf, format-control characters}{41}{\code {printf}, format-control characters}
  103. \entry {format specifier}{41}{format specifier}
  104. \entry {printf, modifiers}{42}{\code {printf}, modifiers}
  105. \entry {modifiers (in format specifiers)}{42}{modifiers (in format specifiers)}
  106. \entry {output redirection}{44}{output redirection}
  107. \entry {redirection of output}{44}{redirection of output}
  108. \entry {pipes for output}{45}{pipes for output}
  109. \entry {output, piping}{45}{output, piping}
  110. \entry {closing output files and pipes}{45}{closing output files and pipes}
  111. \entry {close}{45}{\code {close}}
  112. \entry {standard input}{47}{standard input}
  113. \entry {standard output}{47}{standard output}
  114. \entry {standard error output}{47}{standard error output}
  115. \entry {file descriptors}{47}{file descriptors}
  116. \entry {/dev/stdin}{47}{\file {/dev/stdin}}
  117. \entry {/dev/stdout}{47}{\file {/dev/stdout}}
  118. \entry {/dev/stderr}{47}{\file {/dev/stderr}}
  119. \entry {/dev/fd/}{47}{\file {/dev/fd/}}
  120. \entry {one-liners}{49}{one-liners}
  121. \entry {pattern, definition of}{51}{pattern, definition of}
  122. \entry {patterns, types of}{51}{patterns, types of}
  123. \entry {empty pattern}{51}{empty pattern}
  124. \entry {pattern, empty}{51}{pattern, empty}
  125. \entry {pattern, regular expressions}{51}{pattern, regular expressions}
  126. \entry {regexp}{51}{regexp}
  127. \entry {regular expressions as patterns}{51}{regular expressions as patterns}
  128. \entry {regular expression matching operators}{52}{regular expression matching operators}
  129. \entry {string-matching operators}{52}{string-matching operators}
  130. \entry {operators, string-matching}{52}{operators, string-matching}
  131. \entry {operators, regular expression matching}{52}{operators, regular expression matching}
  132. \entry {regexp search operators}{52}{regexp search operators}
  133. \entry {computed regular expressions}{52}{computed regular expressions}
  134. \entry {regular expressions, computed}{52}{regular expressions, computed}
  135. \entry {dynamic regular expressions}{52}{dynamic regular expressions}
  136. \entry {metacharacters}{53}{metacharacters}
  137. \entry {regular expression metacharacters}{53}{regular expression metacharacters}
  138. \entry {comparison expressions as patterns}{56}{comparison expressions as patterns}
  139. \entry {pattern, comparison expressions}{56}{pattern, comparison expressions}
  140. \entry {relational operators}{56}{relational operators}
  141. \entry {operators, relational}{56}{operators, relational}
  142. \entry {patterns, boolean}{57}{patterns, boolean}
  143. \entry {boolean patterns}{57}{boolean patterns}
  144. \entry {range pattern}{59}{range pattern}
  145. \entry {patterns, range}{59}{patterns, range}
  146. \entry {BEGIN special pattern}{59}{\code {BEGIN} special pattern}
  147. \entry {patterns, BEGIN}{59}{patterns, \code {BEGIN}}
  148. \entry {END special pattern}{59}{\code {END} special pattern}
  149. \entry {patterns, END}{59}{patterns, \code {END}}
  150. \entry {action, definition of}{61}{action, definition of}
  151. \entry {curly braces}{61}{curly braces}
  152. \entry {action, curly braces}{61}{action, curly braces}
  153. \entry {action, separating statements}{61}{action, separating statements}
  154. \entry {expression}{63}{expression}
  155. \entry {constants, types of}{63}{constants, types of}
  156. \entry {string constants}{63}{string constants}
  157. \entry {numeric constant}{63}{numeric constant}
  158. \entry {numeric value}{63}{numeric value}
  159. \entry {escape sequence notation}{63}{escape sequence notation}
  160. \entry {variables, user-defined}{65}{variables, user-defined}
  161. \entry {user-defined variables}{65}{user-defined variables}
  162. \entry {arithmetic operators}{66}{arithmetic operators}
  163. \entry {operators, arithmetic}{66}{operators, arithmetic}
  164. \entry {addition}{66}{addition}
  165. \entry {subtraction}{66}{subtraction}
  166. \entry {multiplication}{66}{multiplication}
  167. \entry {division}{66}{division}
  168. \entry {remainder}{66}{remainder}
  169. \entry {quotient}{66}{quotient}
  170. \entry {exponentiation}{66}{exponentiation}
  171. \entry {string operators}{67}{string operators}
  172. \entry {operators, string}{67}{operators, string}
  173. \entry {concatenation}{67}{concatenation}
  174. \entry {comparison expressions}{68}{comparison expressions}
  175. \entry {expressions, comparison}{68}{expressions, comparison}
  176. \entry {relational operators}{68}{relational operators}
  177. \entry {operators, relational}{68}{operators, relational}
  178. \entry {regexp operators}{68}{regexp operators}
  179. \entry {regexp as expression}{69}{regexp as expression}
  180. \entry {expressions, boolean}{69}{expressions, boolean}
  181. \entry {boolean expressions}{69}{boolean expressions}
  182. \entry {operators, boolean}{69}{operators, boolean}
  183. \entry {boolean operators}{69}{boolean operators}
  184. \entry {logical operations}{69}{logical operations}
  185. \entry {and operator}{69}{and operator}
  186. \entry {or operator}{69}{or operator}
  187. \entry {not operator}{69}{not operator}
  188. \entry {assignment operators}{70}{assignment operators}
  189. \entry {operators, assignment}{70}{operators, assignment}
  190. \entry {expressions, assignment}{70}{expressions, assignment}
  191. \entry {side effect}{71}{side effect}
  192. \entry {lvalue}{71}{lvalue}
  193. \entry {increment operators}{72}{increment operators}
  194. \entry {operators, increment}{72}{operators, increment}
  195. \entry {conversion of strings and numbers}{73}{conversion of strings and numbers}
  196. \entry {OFMT}{74}{\code {OFMT}}
  197. \entry {conditional expression}{74}{conditional expression}
  198. \entry {expression, conditional}{74}{expression, conditional}
  199. \entry {function call}{75}{function call}
  200. \entry {calling a function}{75}{calling a function}
  201. \entry {arguments in function call}{75}{arguments in function call}
  202. \entry {precedence}{76}{precedence}
  203. \entry {operator precedence}{76}{operator precedence}
  204. \entry {control statement}{79}{control statement}
  205. \entry {if statement}{79}{\code {if} statement}
  206. \entry {while statement}{80}{\code {while} statement}
  207. \entry {loop}{80}{loop}
  208. \entry {body of a loop}{80}{body of a loop}
  209. \entry {for statement}{82}{\code {for} statement}
  210. \entry {break statement}{83}{\code {break} statement}
  211. \entry {loops, exiting}{83}{loops, exiting}
  212. \entry {continue statement}{84}{\code {continue} statement}
  213. \entry {next statement}{86}{\code {next} statement}
  214. \entry {exit statement}{86}{\code {exit} statement}
  215. \entry {arrays}{89}{arrays}
  216. \entry {arrays, definition of}{89}{arrays, definition of}
  217. \entry {associative arrays}{89}{associative arrays}
  218. \entry {array reference}{91}{array reference}
  219. \entry {element of array}{91}{element of array}
  220. \entry {reference to array}{91}{reference to array}
  221. \entry {arrays, determining presence of elements}{91}{arrays, determining presence of elements}
  222. \entry {array assignment}{92}{array assignment}
  223. \entry {element assignment}{92}{element assignment}
  224. \entry {for (x in \dots {})}{93}{\code {for (x in \dots {})}}
  225. \entry {arrays, special for statement}{93}{arrays, special \code {for} statement}
  226. \entry {scanning an array}{93}{scanning an array}
  227. \entry {delete statement}{94}{\code {delete} statement}
  228. \entry {deleting elements of arrays}{94}{deleting elements of arrays}
  229. \entry {removing elements of arrays}{94}{removing elements of arrays}
  230. \entry {arrays, deleting an element}{94}{arrays, deleting an element}
  231. \entry {subscripts, multi-dimensional in arrays}{95}{subscripts, multi-dimensional in arrays}
  232. \entry {arrays, multi-dimensional subscripts}{95}{arrays, multi-dimensional subscripts}
  233. \entry {multi-dimensional subscripts}{95}{multi-dimensional subscripts}
  234. \entry {SUBSEP}{95}{\code {SUBSEP}}
  235. \entry {built-in functions}{99}{built-in functions}
  236. \entry {match}{101}{\code {match}}
  237. \entry {length}{101}{\code {length}}
  238. \entry {match}{101}{\code {match}}
  239. \entry {RSTART}{101}{\code {RSTART}}
  240. \entry {RLENGTH}{101}{\code {RLENGTH}}
  241. \entry {split}{102}{\code {split}}
  242. \entry {sprintf}{102}{\code {sprintf}}
  243. \entry {sub}{102}{\code {sub}}
  244. \entry {gsub}{103}{\code {gsub}}
  245. \entry {substr}{104}{\code {substr}}
  246. \entry {tolower}{104}{\code {tolower}}
  247. \entry {toupper}{104}{\code {toupper}}
  248. \entry {system}{104}{\code {system}}
  249. \entry {interaction of awk with other programs}{104}{interaction of \code {awk} with other programs}
  250. \entry {user-defined functions}{105}{user-defined functions}
  251. \entry {functions, user-defined}{105}{functions, user-defined}
  252. \entry {defining functions}{105}{defining functions}
  253. \entry {function definition}{105}{function definition}
  254. \entry {call by value}{107}{call by value}
  255. \entry {call by reference}{108}{call by reference}
  256. \entry {return statement}{109}{\code {return} statement}
  257. \entry {built-in variables}{111}{built-in variables}
  258. \entry {built-in variables, user modifiable}{111}{built-in variables, user modifiable}
  259. \entry {ENVIRON}{113}{\code {ENVIRON}}
  260. \entry {command line}{115}{command line}
  261. \entry {invocation of gawk}{115}{invocation of \code {gawk}}
  262. \entry {arguments, command line}{115}{arguments, command line}
  263. \entry {options, command line}{115}{options, command line}
  264. \entry {-v option}{115}{\samp {-v} option}
  265. \entry {-c option}{115}{\samp {-c} option}
  266. \entry {-V option}{115}{\samp {-V} option}
  267. \entry {-C option}{116}{\samp {-C} option}
  268. \entry {ARGV}{116}{\code {ARGV}}
  269. \entry {multiple passes over data}{117}{multiple passes over data}
  270. \entry {passes, multiple}{117}{passes, multiple}
  271. \entry {AWKPATH environment variable}{117}{\code {AWKPATH} environment variable}
  272. \entry {search path}{117}{search path}
  273. \entry {directory search}{117}{directory search}
  274. \entry {path, search}{117}{path, search}
  275.