[Top][All Lists]

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

Re: win32_libid() fix

From: Charles Wilson
Subject: Re: win32_libid() fix
Date: Sun, 30 Mar 2003 14:00:35 -0500
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0

Naofumi Yasufuku wrote:

I found a sed expression error in win32_libid() shell function.
sed complains at win32_nmres evaluation as follows.

  sed: -e expression #1, char 46: Extra characters after command

That's odd. The original command works here, with GNU sed on cygwin. What version of sed do you have?

-        sed -n -e '1,100{/ I /{x;/import/!{s/^/import/;h;p;};x;}}'`
+        sed -n -e '1,100{/ I /{x;/import/!{s/^/import/;h;p;};x;};}'`

However, the fix looks fine to me and ALSO works with GNU sed on cygwin. So, I've no problems with this patch.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]