simplify users example code (s/sed/tr/)
authorMischa POSLAWSKY <perl@shiar.org>
Tue, 21 Jan 2020 16:02:33 +0000 (17:02 +0100)
committerMischa POSLAWSKY <perl@shiar.org>
Fri, 24 Jan 2020 21:51:04 +0000 (22:51 +0100)
barcat

diff --git a/barcat b/barcat
index aa18957767e5dace34cdc54f54954729ba4db6b6..3df9408e6acec8878cc8045e01cf931f6e54485c 100755 (executable)
--- a/barcat
+++ b/barcat
@@ -497,7 +497,7 @@ Monitor network latency from prefixed results:
 
 Commonly used after counting, for example users on the current server:
 
-    users | sed 's/ /\n/g' | sort | uniq -c | barcat
+    users | tr ' ' '\n' | sort | uniq -c | barcat
 
 Letter frequencies in text files: