From mboxrd@z Thu Jan 1 00:00:00 1970 To: 9fans@cse.psu.edu From: Nils M Holm Message-ID: <2004032510535500-74837@Symmetry.UUCP> Subject: [9fans] Finding the object suffix Date: Thu, 25 Mar 2004 11:53:55 +0100 Topicbox-Message-UUID: 40a4185a-eacd-11e9-9e20-41e7f4b1d025 I am currently writing an rc script that needs to know the object suffix of the architecture it is running on. Would the following code reliably return this suffix, or is there a better way? grep '^O=.$' /$objtype/mkfile | sed -e 's/O=//' Thanks, Nils. -- Nils M Holm -- http://www.t3x.org/nmh/