simplify users example code (s/sed/tr/)
[barcat.git] / 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: