Message-ID: <374BA28C.4175F672@ibm.net>
Date: Wed, 26 May 1999 00:28:12 -0700
From: Masatoshi Kanzaki <kanzaki@ibm.net>
X-Mailer: Mozilla 4.6 [en] (X11; I; SunOS 5.7 i86pc)
X-Accept-Language: en
MIME-Version: 1.0
Newsgroups: fj.unix
Subject: Re: $ escape
References: <7ibsei$q5c$1@news01dd.so-net.ne.jp>
Content-Type: text/plain; charset=iso-2022-jp
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 129.37.20.28
X-Trace: 26 May 1999 07:29:46 GMT, 129.37.20.28
Organization: IBM Global Services - Remote Access Mail & News Services
Lines: 55
X-Notice: Items posted that violate the IBM.NET Acceptable Use Policy
X-Notice: should be reported to postmaster@ibm.net
X-Complaints-To: postmaster@ibm.net
Path: galaxy.trc.rwcp.or.jp!news.trc!imnet3!news.imnet.ad.jp!news.join.ad.jp!newsserver.jvnc.net!198.138.0.5!newshub.northeast.verio.net!news.maxwell.syr.edu!newsfeed.us.ibm.net!ibm.net!news1.us.ibm.net!129.37.20.28
Xref: galaxy.trc.rwcp.or.jp fj.unix:10826
X-originally-archived-at: http://galaxy.rwcp.or.jp/text/cgi-bin/newsarticle2?ng=fj.unix&nb=10826&hd=a
X-reformat-date: Mon, 18 Oct 2004 15:18:22 +0900
X-reformat-comment: Tabs were expanded into 4 column tabstops by the Galaxy's archiver. See http://katsu.watanabe.name/ancientfj/galaxy-format.html for more info.

$B?@:j$H$b$&$7$^$9(B

$B$b$7%O%:%7%F$$$?$i$4$a$s$J$5$$!#(B

$ $B$r(B \$ $B$KJQ$($?$$$N$J$i!"(B

sed 's/\$/\\\$/g '
$B$^$?$O(B
sed s/\\\$/\\\\\\\$/g
$B$G$9$M!"(B

$B$=$&$7$J$1$l$P%P%C%/%9%i%C%7%e%(%9%1!<%W$O%7%'%k$G2r<a$5$l$F$7$^$&$N$G$O(B
$B$J$$$G$7$g$&$+!#(B

Katsumi KOUCHI wrote:

> $B8wCO$H?=$7$^$9!#(B
>
> $B$$$i$J$$5-;v$r>C$9$?$a$K(B
>
> <Message-ID1>
> <Message-ID2>
>  .
>  .
> $B$H$$$&$U$&$K#19T$K#1$D$N(BMessage-ID$B$r$b$C$?%U%!%$%k(Bcancel.ctl$B$r:n@.(B
> $B$7!"(B
> ---cancel.sh
> cat cancel.ctl | cut -c2- | sed s/\>// | sed s/\$/\\\$/g | \
> awk '{print "ctlinnd cancel " $0}' > temp.sh
> sh temp.sh
> rm temp.sh
> ---$B0J>e(B
>
> $B$H$$$&$b$N$r:n$j$^$7$?!#(B
>
> $B$,!"$G$-$"$,$C$?(Btemp.sh$B$O9TKv$K(B$$B$,4^$^$l$F$$$F;H$($^$;$s!#(B
> $B$I$&$d$i!"(B
> echo 'hoe' | sed s/\$/\\\$/g $B$N=PNO$+$i$7$F(B hoe$ $B$K$J$k$h$&$J$N$G$9!#(B
> $B$I$J$?$+!"$I$&$7$F$3$&$J$k$N$+!?$I$&$9$l$P$h$$$N$+$465<x$/$@$5$$!#(B
>
> $B$"$H!":G=i$H:G8e$N(B<$B$H(B>$B$r>J$/J}K!$b$h$j%9%^!<%H$JJ}K!$,$"$l$P$465<x(B
> $B$$$?$@$1$l$P9,$$$G$9!#(B
>
> --
> $B8wCO>!9n(B (Katsumi KOUCHI)
> E-mail : katsumi@nijino.com
> Postpet: katsumi@wa2.so-net.ne.jp

--
Masatoshi Kanzaki
mailto:kanzaki@ibm.net
http://member.nifty.ne.jp/m-k/index.html



