|
|
On Thu, Mar 06, 2008 at 04:12:19PM -0500, Richard Rognlie wrote:
> On Thu, Mar 06, 2008 at 01:24:17PM -0500, Alan McConnell wrote:
> > The command sed 's/440/440*4/3/' myscore.sco
>
> Try
>
> sed 's/440/440*4\/3/'
or you can just use a different delimeter if that makes life easier:
sed 's!440!440*4/3!'
sed 's,440,440*4/3,'
sed 's:440:440*4/3:'
...
btw, if the lhs had a '*' in it you'd need to escape it w/ a backslash
otherwise it is consumed by the regex engine.
--
Mark Smith
mark@xxxxxxxxxxxxx
mark@xxxxxxx
_______________________________________________
Ma-linux mailing list
Ma-linux@xxxxxxxxxxxxxxx
http://calypso.tux.org/cgi-bin/mailman/listinfo/ma-linux
|
|