On Monday 03 April 2006 08:25, [EMAIL PROTECTED] wrote: > 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.
A superb example of "You know that raised type deaf-and-dumb people read, what's it called? ..." I like others tried the regex without fault. Did not see, and did not use ".." Thanks James -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
