LINUXUSER 指令專區
回首頁 | 回指令列表

指令名稱

awk

使用權限

 

使用方式

awk [POSIX or GNU style options] -f progfile [--] file ...
awk [POSIX or GNU style options] [--] 'program' file ...

說  明

建置在C語言語法上之程式設計語言。

參  數

OSIX options: GNU long options:
-f progfile --file'progfile
-f fs  --field-separator'fs
-v var'val  --assign'var'val
-m[fr] val   
-W compat  --compat
-W copyleft  --copyleft
-W copyright  --copyright
-W help  --help
-W lint  --lint
-W lint-old --lint-old
-W posix --posix
-W re-interval  --re-interval
-W source'program-text  --source'program-text
-W traditional  --traditional
-W usage  --usage
-W version  --version

範  例