"Keshetti Mahesh" <[EMAIL PROTECTED]> wrote: > I modified the script a little bit to concatenate all > "s/<orig_token>/<new_token>" using pipes and ran single 'sed' at the > end. But its not working. Thats why I want to know how many pipes > can I open through a single command. Also, I have tried > concatenated the replace commands using ";". Even that is not > working.
sed's "s" command should be terminated with a final "/". If nothing comes after the "s" command, then you can leave out the final "/", but in your case, you need it: sed 's/old1/new1/;s/old2/new2/;...' paul