mirror of
https://github.com/onceupon/Bash-Oneliner.git
synced 2025-02-18 08:12:43 +00:00
add other
Reverse the result from `uniq -c`
This commit is contained in:
parent
6e66fd9ce9
commit
46684db867
@ -2775,4 +2775,10 @@ od filenme
|
|||||||
```bash
|
```bash
|
||||||
tac filenme
|
tac filenme
|
||||||
```
|
```
|
||||||
|
##### Reverse the result from `uniq -c`
|
||||||
|
```bash
|
||||||
|
while read a b; do yes $b |head -n $a ;done <test.txt
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
=-=-=-=-=-::::::::::::::::More coming!!::::::::::::::::-=-=-=-=-=
|
=-=-=-=-=-::::::::::::::::More coming!!::::::::::::::::-=-=-=-=-=
|
||||||
|
Loading…
x
Reference in New Issue
Block a user