From 46684db867a0782f23b1c4c63179baf8bd3053e2 Mon Sep 17 00:00:00 2001 From: onceupon Date: Fri, 14 Dec 2018 10:05:24 +0800 Subject: [PATCH] add other Reverse the result from `uniq -c` --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 1ff6015..f25a056 100644 --- a/README.md +++ b/README.md @@ -2775,4 +2775,10 @@ od filenme ```bash tac filenme ``` +##### Reverse the result from `uniq -c` +```bash +while read a b; do yes $b |head -n $a ;done