Interactive Bash script question

view story

http://forums.fedoraforum.org – Greetings all, I'm sure this will be simple to those of you who find Bash scripting easy. I've been searching for quite some time on this matter and have come up empty. Here's what I'd like to do... I have an encrypted file with numerous accounts listed. It's a simple text file encrypted with gpg. All I want to do is to write an interactive Bash script that will output the following, then wait for my input and return the end result: gpg -d Documents/mystuff.txt.gpg | grep -i I need that above output, then I'll need the script to wait for my input (after the "grep -i"). (HowTos)