Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- main=`zenity --entry --text "Enter the main string" --title "Main string"`
- sub=`zenity --entry --text "Enter the string to be searched for " --title "Substring"`
- ./output "$main" "$sub"
- zenity --info --text "The string occours $? times" --title "Count"
Advertisement
Add Comment
Please, Sign In to add comment