From 93df063b0375e15e3f545ede1b52ab70d90d8ea0 Mon Sep 17 00:00:00 2001 From: Mischa POSLAWSKY Date: Tue, 21 Jan 2020 17:02:33 +0100 Subject: [PATCH] simplify users example code (s/sed/tr/) --- barcat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/barcat b/barcat index aa18957..3df9408 100755 --- 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: -- 2.30.0