Reverse the result from uniq -c

while read a b; do yes $b |head -n $a ;done <test.txt

Others

[back to top]

click the source code to copy