OK, I SURE Ive done this before, but I cant quite get the 
syntax right on this shell script.

What I WANT to do is read lines from a list of data, and 
pass the lines (individually) to another script.

What Im trying (and I get syntax complaints) is

        test.sh < test.data

where test.sh is

        #!/bin/sh

        while ( ! read line )
        do
        echo $line
        done

needless to say the 'echo' will be replaced with something more substantial
when I can get this to work...

SO, this doesnt, work, how should it REALLY read????


-- 
                                        Reg.Clemens
                                        [EMAIL PROTECTED]




-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to