From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <16ae5fb5baa7ec5d13d1ec52ce5aa5cd@terzarima.net> To: 9fans@cse.psu.edu Subject: Re: [9fans] strange behavior? From: Charles Forsyth Date: Thu, 10 May 2007 09:16:06 +0100 In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="upas-dzhenzmbjevtkbqbzgwmtbxahk" Topicbox-Message-UUID: 622aeecc-ead2-11e9-9d60-3106f5b1d025 This is a multi-part message in MIME format. --upas-dzhenzmbjevtkbqbzgwmtbxahk Content-Disposition: inline Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit consider awk '/'^(a b)^'/' /dev/null awk: can't open file /b/ source line 1 your case is similar: T=(a b) awk '/'^$T^'/' /dev/null awk: can't open file /b/ source line 1 and finally awk '/'^$"T^'/' /dev/null success? note the " before the T in the last one. --upas-dzhenzmbjevtkbqbzgwmtbxahk Content-Type: message/rfc822 Content-Disposition: inline Received: from mail.cse.psu.edu ([130.203.4.6]) by lavoro; Thu May 10 07:47:05 BST 2007 Received: from psuvax1.cse.psu.edu (localhost [127.0.0.1]) by mail.cse.psu.edu (CSE Mail Server) with ESMTP id D5F49C6CD8 for ; Thu, 10 May 2007 02:46:05 -0400 (EDT) X-Original-To: 9fans@cse.psu.edu Delivered-To: 9fans@cse.psu.edu Received: from localhost (localhost [127.0.0.1]) by mail.cse.psu.edu (CSE Mail Server) with ESMTP id 6D587C68C4 for <9fans@cse.psu.edu>; Thu, 10 May 2007 02:45:26 -0400 (EDT) Received: from mail.cse.psu.edu ([127.0.0.1]) by localhost (psuvax1 [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 21117-01 for <9fans@cse.psu.edu>; Thu, 10 May 2007 02:45:25 -0400 (EDT) Received: from XMAIL.asuch.cas.cz (clustera.panter.cz [194.108.106.216]) by mail.cse.psu.edu (CSE Mail Server) with ESMTP id C0472C68B0 for <9fans@cse.psu.edu>; Thu, 10 May 2007 02:45:24 -0400 (EDT) MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Date: Thu, 10 May 2007 08:45:24 +0200 Content-class: urn:content-classes:message X-MimeOLE: Produced By Microsoft Exchange V6.5 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: strange behavior? Thread-Index: AceSzslCVdNkvGPiSXCliXqpkZDKAg== From: To: <9fans@cse.psu.edu> X-Virus-Scanned: by amavisd-new at cse.psu.edu Subject: [9fans] strange behavior? X-BeenThere: 9fans@cse.psu.edu X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu> List-Id: Fans of the OS Plan 9 from Bell Labs <9fans.cse.psu.edu> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: 9fans-bounces+forsyth=terzarima.net@cse.psu.edu Errors-To: 9fans-bounces+forsyth=terzarima.net@cse.psu.edu ##script: T =3D 'Eptatretus burgeri' echo $T awk '/'^$T^'/' all.uniq=20 echo '++++++++++++++++' T=3D`{awk 'NR=3D=3D '23' ' SpeciesList} echo $T awk '/'^$T^'/' all.uniq=20 ## result: Eptatretus burgeri Eptatretus burgeri (complete) Metazoa; Chordata; Craniata; Hyperotreti; = Myxiniformes; Myxinidae; Eptatretinae; Eptatretus. NC_002807 cox1, = -S(nga), D, cox2, K, atp8, atp6, cox3, G, nad3, R, nad4L, nad4, H, = S(nct), L(nag), nad5, -nad6, -E, cob, T, -P, F, rrnS, V, rrnL, L(yaa), = nad1, I, -Q, M, nad2, W, -A, -N, -C, -Y =20 ++++++++++++++++ Eptatretus burgeri awk: can't open file /burgeri/ source line 1 rc 117587: awk 117593: 2 --upas-dzhenzmbjevtkbqbzgwmtbxahk--