From: nobuyoshi nakada Date: 2005-12-02T17:57:09+09:00 Subject: Re: ruby 1.8.4 preview2 Hi, At Fri, 2 Dec 2005 15:22:22 +0900, daz wrote in [ruby-core:06819]: > If I'm following correctly, 1.9 requires bison (for racc) but 1.8.4 For ripper. > For the case when YACC = bison: > > As my/(all?) Makefile.sub already uses sed, maybe your fix would fit inside? I don't want to encourage everyone to use a buggy version, both of 1.875 and 2.0 would be good enough. The problem we have now is that distributed tarball has a wrong file, caused by the environment where it was made. At all events, we need a new tarball, out of doubt. > These are OK: > > sed -e "/^ ;$/d" ifile > ofile > OR: > sed -e "/^yyparse ()$/{;n;/^ \+;$/d;}" ifile > ofile It works with some sed, but all sed doesn't work with \+ presumably. You may need to write it as /^ *;$/d for older ones. -- Nobu Nakada