Update README.md (#378)
Update description of 'awk' command (line 172 to 174).
This commit is contained in:
parent
eef46ebf09
commit
93ccde4f46
@ -169,6 +169,9 @@ They take in input (<) and output for a given file (>) using stdin and stdout.
|
|||||||
- cut: a tool for cutting out selected portions of each line of a file:
|
- cut: a tool for cutting out selected portions of each line of a file:
|
||||||
- syntax: `cut OPTION [FILE]`
|
- syntax: `cut OPTION [FILE]`
|
||||||
- cutting first two bytes from a word in a file: `cut -b 1-2 file.md`, output: `wo`
|
- cutting first two bytes from a word in a file: `cut -b 1-2 file.md`, output: `wo`
|
||||||
|
- awk: a programming language that is mainly used for text processing and data extraction. It can be used to manipulate and modify text in a file:
|
||||||
|
- syntax: awk [OPTIONS] [FILTER] [FILE]
|
||||||
|
extracting a specific field from a CSV file: awk -F ',' '{print $1}' file.csv, output: first field of each line in the file
|
||||||
</b></details>
|
</b></details>
|
||||||
|
|
||||||
<details>
|
<details>
|
||||||
|
Loading…
Reference in New Issue
Block a user