You are viewing a single comment's thread. Return to all comments →
while read line; do echo $line >> file.txt done cat file.txt | uniq -c | sed -E 's/^(.{0,7})[ ]+/\1 /;s/ {2,}//'
Seems like cookies are disabled on this browser, please enable them to open this website
'Uniq' Command #2
You are viewing a single comment's thread. Return to all comments →
while read line; do echo $line >> file.txt done cat file.txt | uniq -c | sed -E 's/^(.{0,7})[ ]+/\1 /;s/ {2,}//'