On Fri, 8 Feb 2002 12:56:01 +0530 "Rahul Garg" <[EMAIL PROTECTED]> wrote:
> > > > well , i am new to shell scripting. > what i want to do is > open(HANDLE,filename); > @files = <HANDLE> ; > foreach $line(@files) > { > ##### > } > close(HANDLE); > How will i do it in shell script! Try - while read line do ... do_some_stuff_with_line_variable_here ... done < filename -- Görkem Gelecek A.S _______________________________________________ Seawolf-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/seawolf-list