作者: Bruce.
日時: 2008/9/18(02:25)
Bunta さんは書きました (2008/09/17 12:49):

> C:\>echo [xxxx]zzz|ssed -e "s/[^][]//g"
> ssed: -e expression #1, char 10: unterminated `s' command
> 
>  ssed もいけませんよね。Bruce. さんにも試していただけて、バグ・レポート
> がバグってないと確認できたら、Paolo さんに報告に行きたいのですが…。m(__)m


Could you please send the patch to him?

--- compile.c.~	2005-12-12 15:21:55.000000000 +0900
+++ compile.c	2008-09-18 02:21:57.937500000 +0900
@@ -470,7 +470,7 @@ snarf_char_class(b, cur_stat)
   ch = inchar();
   if (ch == '^')
     ch = add_then_next(b, ch);
-  else if (ch == CLOSE_BRACKET)
+  if (ch == CLOSE_BRACKET)
     ch = add_then_next(b, ch);

   /* States are:




-- 
木村浩一
  I thought what I'd do was, I'd pretend I was one of those deaf-mutes or should I?
  mail kbk [at] kt.rim.or.jp
        web  www.kt.rim.or.jp/~kbk/zakkicho/
             homepage3.nifty.com/farstar/