rajeevs1992

Script Zenity

Aug 2nd, 2011
193
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.25 KB | None | 0 0
  1. main=`zenity --entry --text "Enter the main string" --title "Main string"`
  2. sub=`zenity --entry --text  "Enter the string to be searched for " --title "Substring"`
  3. ./output "$main" "$sub"
  4. zenity --info --text "The string occours $? times" --title "Count"
Advertisement
Add Comment
Please, Sign In to add comment