On Tue, Nov 25, 2008 at 2:52 PM, alex <[EMAIL PROTECTED]> wrote:

>
> 1: #!/bin/bash
> 2: cat file_a | while read a;
> 3: do
> 4:     sed -i \"/$a/ d\" file_b
> 5: done
>
> For some reasons, the sed command gives error. *sed: -e expression #1, char
> 1: unknown command: `"'*
>

Does IFS come into play here? (i dont know) try defining at the begining of
the prog.

Venkat
Blog @ http://blizzardzblogs.blogspot.com
_______________________________________________
To unsubscribe, email [EMAIL PROTECTED] with 
"unsubscribe <password> <address>"
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

Reply via email to