man awk 翻译

  • 必须整段进行翻译,不可只翻译一句话。 先发原文,后发翻译内容
  • 君子协定,翻译过程中只能查单词或者短语,不能查句子。

awkHelp.log (35.9 KB)
Whole help document

First module ,help document Name、Synopsis、Description


  • NAME
    mawk - pattern scanning and text processing language

    mawk [-W option] [-F value] [-v var=value] [–] ‘program text’ [file …]
    mawk [-W option] [-F value] [-v var=value] [-f program-file] [–] [file …]


     mawk  is  an  interpreter for the AWK Programming Language.  The AWK language is
      useful for manipulation of data files, text retrieval and  processing,  and  for
      prototyping  and  experimenting	with  algorithms.  mawk is a new awk meaning it
      implements the AWK language as defined in Aho, Kernighan and Weinberger, The AWK
      Programming  Language,  Addison-Wesley Publishing, 1988.  (Hereafter referred to
      as the AWK book.)  mawk conforms to the Posix 1003.2 (draft 11.3) definition  of
      the  AWK  language  which contains a few features not described in the AWK book,
      and mawk provides a small number of extensions.
      An AWK program is a sequence of pattern {action} pairs and function definitions.
      Short  programs are entered on the command line usually enclosed in ' ' to avoid
      shell interpretation.  Longer programs can be read in from a file  with	the  -f
      option.	 Data  input is read from the list of files on the command line or from
      standard input when the list is empty.  The input  is  broken  into  records  as
      determined  by  the  record  separator  variable,  RS.  Initially, RS = "\n" and
      records are synonymous with lines.  Each record is compared against each pattern
      and if it matches, the program text for {action} is executed.
  • 名字
    mawk - 模式扫描和文件处理语言
  • 概要
  • mawk [-W 操作] [-F 值] [-v var=值] [–] ‘program text’ [文件 …]
    mawk [-W 操作] [-F 值] [-v var=值] [-f program-file] [–] [文件 …]
  • 描述