>>>>> "Simon" == Simon Bowden <[EMAIL PROTECTED]> writes:
Simon> On Fri, 31 Mar 2006, Steven Heimann wrote: >> **1. Scope** >> >> I wrote the following >> >> sed -i.bak "s/^\(\*\*[0-9][. ]\)\*\*\(.*\)$/\1\2**/" *.txt The $ will be interpreted by the shell, because it's in double quotes. Depending on what shell you're using the backslashes could also be swallowed. You need to use single quotes for most shells. -- Dr Peter Chubb http://www.gelato.unsw.edu.au peterc AT gelato.unsw.edu.au http://www.ertos.nicta.com.au ERTOS within National ICT Australia -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
