Option to save data thats displayed?

Im trying to come up with a simple shell script to display info about the current user.`pwd`; `date` ; `who am i`
I want to give the option to save all the data thats display by the commands to a log file. With a timestamp as the name of the file

This is where im stuck
echo "Would you like to save? (Y)es or (N)o

I believe you use a while loop?
If you have anymore ideas please let me know?

What about the rules you agreed with:

What about the rules? Who cares? This form is here to help people with a issue.END OF STORY

WE care. Because this is a forum to help professionals get together, and help each other. You, by the way, agreed to the rules when you created an account, so you should care too if you want help.

END OF STORY