Try this: while read data; do <whatever you're doing>; done ($data is the var. name that each line will be read into until EOF).
>>> [EMAIL PROTECTED] 11/15/01 04:50AM >>> hi all, Is there any way to check the "EOF" using the shell script. please do help me. bye, Sriks _______________________________________________ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list