auto commit
This commit is contained in:
parent
5d6c19dcf8
commit
e33c0af88d
|
@ -973,6 +973,8 @@ $ printf '%10s %5i %5i %5i %8.2f \n' $(cat printf.txt)
|
||||||
|
|
||||||
## awk
|
## awk
|
||||||
|
|
||||||
|
可以根据字段的某些条件进行匹配,例如匹配字段小于某个值的那一行数据。
|
||||||
|
|
||||||
```html
|
```html
|
||||||
$ awk '条件类型 1 {动作 1} 条件类型 2 {动作 2} ...' filename
|
$ awk '条件类型 1 {动作 1} 条件类型 2 {动作 2} ...' filename
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in New Issue
Block a user