Update README.md (#378)

Update description of 'awk' command (line 172 to 174).
This commit is contained in:
Rémi... et pas Rémy 2023-04-07 08:51:09 +02:00 committed by GitHub
parent eef46ebf09
commit 93ccde4f46
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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>