mirror of
https://github.com/xmengnet/the-art-of-command-line.git
synced 2024-12-24 03:56:28 +08:00
Merge pull request #491 from mkwardakov/awk-dup
Fix #67: remove awk example duplicate
This commit is contained in:
commit
58f33bcf3c
1 changed files with 1 additions and 1 deletions
|
@ -238,7 +238,7 @@ Notes:
|
|||
|
||||
- You can set a specific command's environment by prefixing its invocation with the environment variable settings, as in `TZ=Pacific/Fiji date`.
|
||||
|
||||
- Know basic `awk` and `sed` for simple data munging. For example, summing all numbers in the third column of a text file: `awk '{ x += $3 } END { print x }'`. This is probably 3X faster and 3X shorter than equivalent Python.
|
||||
- Know basic `awk` and `sed` for simple data munging. See [One-liners](#one-liners) for examples.
|
||||
|
||||
- To replace all occurrences of a string in place, in one or more files:
|
||||
```sh
|
||||
|
|
Loading…
Reference in a new issue