Answer the question
In order to leave comments, you need to log in
Counting the number of repetitions of the word man bash?
I find top 3 words by number of invocations in man bash
Script:
#!/bin/bash
man bash | egrep -io '[a-z]{4,}' | tr '[A-Z]' '[a-z]' | sort | uniq -c | sort -nr | head -3
570 command
565 shell
336 value
571 command
566 shell
336 value
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question