From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26109 invoked from network); 23 Oct 2006 06:56:10 -0000 X-Spam-Checker-Version: SpamAssassin 3.1.7 (2006-10-05) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00, FORGED_RCVD_HELO autolearn=ham version=3.1.7 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 23 Oct 2006 06:56:10 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 91442 invoked from network); 23 Oct 2006 06:55:53 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 23 Oct 2006 06:55:53 -0000 Received: (qmail 2154 invoked by alias); 23 Oct 2006 06:55:50 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 22895 Received: (qmail 2142 invoked from network); 23 Oct 2006 06:55:50 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 23 Oct 2006 06:55:50 -0000 Received: (qmail 91070 invoked from network); 23 Oct 2006 06:55:50 -0000 Received: from ms-2.rz.rwth-aachen.de (HELO ms-dienst.rz.rwth-aachen.de) (134.130.3.131) by a.mx.sunsite.dk with SMTP; 23 Oct 2006 06:55:48 -0000 Received: from r220-1 (r220-1.rz.RWTH-Aachen.DE [134.130.3.31]) by ms-dienst.rz.rwth-aachen.de (iPlanet Messaging Server 5.2 Patch 2 (built Jul 14 2004)) with ESMTP id <0J7K00JQQTWZGL@ms-dienst.rz.rwth-aachen.de> for zsh-workers@sunsite.dk; Mon, 23 Oct 2006 08:55:47 +0200 (MEST) Received: from relay.rwth-aachen.de ([134.130.3.1]) by r220-1 (MailMonitor for SMTP v1.2.2 ) ; Mon, 23 Oct 2006 08:55:47 +0200 (MEST) Received: from numa-i.igpm.rwth-aachen.de (numa-i.igpm.RWTH-Aachen.DE [134.130.161.252]) by relay.rwth-aachen.de (8.13.7/8.13.3/1) with ESMTP id k9N6tkjw009530 for ; Mon, 23 Oct 2006 08:55:46 +0200 (MEST) Received: by numa-i.igpm.rwth-aachen.de (Postfix, from userid 207) id 1C56D109417; Mon, 23 Oct 2006 08:55:47 +0200 (CEST) Date: Mon, 23 Oct 2006 08:55:47 +0200 (CEST) From: Helmut Jarausch Subject: expert help sought [offtopic] To: zsh-workers@sunsite.dk Reply-to: jarausch@igpm.rwth-aachen.de Message-id: MIME-version: 1.0 Content-type: TEXT/PLAIN; CHARSET=us-ascii Content-transfer-encoding: 7BIT Content-disposition: INLINE Hi, please help. I am desparately in need for help on the following piece of code within a 'configure' file. It's run under '/bin/sh' which is a symlink to '/bin/bash' but I known that real experts are reading this mailing list. The following code fails in the 2nd line with syntax error near unexpected token `(' ../htmlwidget2/configure: line 4957: ` case `(ac_space=' '; set | grep ac_space) 2>&1` in' here are the lines 4956 ff (set) 2>&1 | case `(ac_space=' '; set | grep ac_space) 2>&1` in *ac_space=\ *) # `set' does not quote correctly, so add quotes (double-quote substitution # turns \\\\ into \\, and sed turns \\ into \). sed -n \ -e "s/'/'\\\\''/g" \ -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p" ;; *) # `set' quotes correctly as required by POSIX, so do not add quotes. sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p' ;; esac >> confcache I admit I don't really understand what's going on and even what's meant to be going on. Many thanks for your help, Helmut Jarausch Lehrstuhl fuer Numerische Mathematik RWTH - Aachen University D 52056 Aachen, Germany