Mailing List Archive

Support open source code!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: tlug: sed ?



--------------------------------------------------------
tlug note from =?iso-8859-1?Q?Thomas_B=E4tzler?= <tbaetzle@example.com>
--------------------------------------------------------
>tlug note from Jim Schweizer <schweiz@example.com>
>
>After the great help a couple of weeks ago on using sed to strip
>headers from email I decided to try to learn a little more about
>it. So, I ordered the O'Reilly 'sed & awk' book and got to work.
>
>The problem is, sometime things don't work as advertised. For
[...]
>sed -e "s$A$pattern$A$replacement$A" $file
>
>When I try to use it though I get the error:
>
>sed: Unknown option to 's'
[...]

I don't know much about sed, but you might want to replace 
those $A with simple forward slashes.

Ciao,
Thomas
>
-----------------------------------------------------------------
a word from the sponsor will appear below
-----------------------------------------------------------------
The TLUG mailing list is proudly sponsored by TWICS - Japan's First
Public-Access Internet System.  Now offering 20,000 yen/year flat
rate Internet access with no time charges.  Full line of corporate
Internet and intranet products are available.   info@example.com
Tel: 03-3351-5977   Fax: 03-3353-6096


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links