You are viewing a single comment's thread. Return to all comments →
Bash :
#!/bin/bash read count allString="" for (( i=1; i<=$count; i++ )) do read string allString+="$string " done read subWordInt for (( i=1; i<=$subWordInt; i++ )) do read subSequent echo "$allString" | grep -o -E "\B($subSequent)\B" | wc -l done
Seems like cookies are disabled on this browser, please enable them to open this website
Find A Sub-Word
You are viewing a single comment's thread. Return to all comments →
Bash :