Skip to content

Commit 93ccde4

Browse files
authored
Update README.md (bregman-arie#378)
Update description of 'awk' command (line 172 to 174).
1 parent eef46eb commit 93ccde4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

topics/linux/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,9 @@ They take in input (<) and output for a given file (>) using stdin and stdout.
169169
- cut: a tool for cutting out selected portions of each line of a file:
170170
- syntax: `cut OPTION [FILE]`
171171
- cutting first two bytes from a word in a file: `cut -b 1-2 file.md`, output: `wo`
172+
- 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:
173+
- syntax: awk [OPTIONS] [FILTER] [FILE]
174+
extracting a specific field from a CSV file: awk -F ',' '{print $1}' file.csv, output: first field of each line in the file
172175
</b></details>
173176

174177
<details>

0 commit comments

Comments
 (0)