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.
this is working proerly
tr 'A-Z' 'a-z' | uniq -ci | cut -c7-
first the tr command with translate and take the lower case letter, next the uniq command with ignore and count the unique value then the spaces can be elimiated by cut
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
'Uniq' command #3
You are viewing a single comment's thread. Return to all comments →
this is working proerly tr 'A-Z' 'a-z' | uniq -ci | cut -c7- first the tr command with translate and take the lower case letter, next the uniq command with ignore and count the unique value then the spaces can be elimiated by cut