Re: ksh input control: read

2006-12-14 Thread Darren Spruell
On 12/14/06, Jacob Yocom-Piatt <[EMAIL PROTECTED]> wrote: >This is a known problem with pdksh that the developers have stated >they don't plan to change. `read' only updates the value of >`testread' in the child shell process, not the parent. > >E.g., ``print "testing" | ( read testread; echo $t

Re: ksh input control: read

2006-12-14 Thread Jacob Yocom-Piatt
Original message >Date: Thu, 14 Dec 2006 19:06:30 -0600 >From: "Matthew R. Dempsky" <[EMAIL PROTECTED]> >Subject: Re: ksh input control: read >To: misc@openbsd.org > >On Thu, Dec 14, 2006 at 12:55:42PM -0600, Jacob Yocom-Piatt wrote: >> prin

Re: ksh input control: read

2006-12-14 Thread Matthew R. Dempsky
On Thu, Dec 14, 2006 at 12:55:42PM -0600, Jacob Yocom-Piatt wrote: > print "testing" | read testread This is a known problem with pdksh that the developers have stated they don't plan to change. `read' only updates the value of `testread' in the child shell process, not the parent. E.g., ``print

ksh input control: read

2006-12-14 Thread Jacob Yocom-Piatt
i'm mostly done with a little ksh CGI script that allows users to change their dovecot passwords after submitting an HTML form, but the issue of input control has been giving me trouble. to generate a new password hash the CGI script takes POSTed form data, splits it into variables named FORM_