From fcba9870472d222a1ddc1de8deccc6ccb16fb368 Mon Sep 17 00:00:00 2001 From: Adrien Schaegis Date: Mon, 13 Jul 2015 17:12:29 +0100 Subject: [PATCH] [CHANGE] Make the explanation more human readable. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e9818bb..cae11fe 100644 --- a/README.md +++ b/README.md @@ -186,7 +186,7 @@ Notes: - 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. - - Find every .log file and execute a tail -f on all of them simultaneously. `find . -type f -name "*.log" | awk '{print}' ORS=' ' | sed 's/^/tail -f /' | sh` + - Find every `.log` file in the current directory (and all of its subdirectories) and monitor them simultaneously: `find . -type f -name "*.log" | awk '{print}' ORS=' ' | sed 's/^/tail -f /' | sh` - To replace all occurrences of a string in place, in one or more files: ```sh