Artificial intelligent assistant

Can't do substitution in a sed program **Q.** I want to write a 2 line program that lets me substitute "the" with "zee" and "The" with "Zee". **Here is what I'm doing:** I'm writing a sed program for example, `program.sed`. Inside it, I'm writing s/the/zee/ \\ The/Zee/g Then I'm running `program.sed` like this sed -f program.sed otherfilename **ERROR:** Unfortunately, error occurs, saying `command garbled: s/the/zee/g` **NOTE:** If I do change text `c\\` in `sed` with any other commands etc. it works fine, but the problem is with substitution like for example in the above question. > **EDIT:** The down solution worked for me the first one before Or, but not the second one. Maybe because the gator version is pretty old. "Oracle Corporation SunOS 5.10 Generic Patch January 2005". `sed` version is very old also "23 July 1998". Just wanted others know.

In your `program.sed` you should have:


s/the/zee/g; s/The/Zee/g


Or:


s/the/zee/g
s/The/Zee/g

xcX3v84RxoQ-4GxG32940ukFUIEgYdPy 77cfd6b92b164b2ee4972683e2865c8f