>Usually sed gives such problem when you have variable in it. Are
>you sure $a does not have any char which will break the
>expression ? (like '/ char)

The string $a does have comma(,) and dot(.) characters. But, it worked for
me when I gave the command *(sed -i "/some_x,a.b.c/ d" file_b)* in the
prompt.

>BTW, looks like you are doing a while loop did you try echoing all
>the lines ?

Yes. The text was printed correctly.
_______________________________________________
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