ksh to read input until QUI

Hello all
I'm looking to write a simple script (ksh/sh/bsh) to read user input and write it to a file (adding each time) until the user enters QUIT at which point I'm hoping to ask some more questions.
Any help much apprecited

What have you tried so far? And - this seems to be homework. We have a forum with a special template.

1 Like

Bumping up posts or double posting is not permitted in these forums. You also have this thread, http://www.unix.com/shell-programming-and-scripting/273481-ksh-loop-read-input-until-quit.html#post303000779 which has more discussion on it.

Please read the rules, which you agreed to when you registered, if you have not already done so.

You may receive an infraction for this. If so, don't worry, just try to follow the rules more carefully. The infraction will expire in the near future

Thank You.

The UNIX and Linux Forums.