We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
'Uniq' command #3
'Uniq' command #3
Sort by
recency
|
70 Discussions
|
Please Login in order to post a comment
Simple Solution
uniq -c -i | cut -c7-
Sed 's/^ *//' is to remove leading whitespaces.
tr '[:upper:]' '[:lower:]' | uniq -ic | awk '{print 2}'