On Jan 11, 2006, at 3:24 PM, Kristian Vaaf wrote:
Just curious, what do I need to do to be able to execute this script like:

$ text-replace old_string new_string

I find it a bit inconvenient having to edit the script for every thing I need to replace.

Use positional arguments $1 and $2, rather than "old" and "new" in the sed statement.

--
-Chuck

_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to