Re: [squid-users] --> Authenticator development

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Wed, 5 Nov 2003 16:32:19 +0100 (CET)

On Wed, 5 Nov 2003, Alex Carlos Braga Antão wrote:

> Does squid send some caracter, or string to it to make it die ?

Squid closes the input to the helper.

> Here is the code:
> ------------
> #/bin/ksh
>
> while true
> do
> read usuario
> echo OK
> done
> ------------
> Thanks...

This should be

#!/bin/ksh
while read usuario
do
        echo OK
done

the "while read ..." makes sure the loop ends when the input is closed.

Regards
Henrik
Received on Wed Nov 05 2003 - 08:49:06 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:21:07 MST