Posted by member 37809 on 2003-10-27 12:40:38 link
To be lazy, you could get away with !textreplace'ing an evar and use it like so:
For exact syntax it may depend on which version of textedit. Read up on regular expressions in its docs and elsewhere to understand it. I think this should work though (all one line):
sizeOrSomeBetterName small
*taskswrapcmd 1, !make$sizeOrSomeBetterName$
*taskswrapcmd 1, !make$sizeOrSomeBetterName$
For exact syntax it may depend on which version of textedit. Read up on regular expressions in its docs and elsewhere to understand it. I think this should work though (all one line):
!textreplace "$ConfigDir$somefile.rc" "^(\*taskswrapcmd 1, \^make).*" "\1SOMETHING" ; where SOMETHING is small or medium