9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] Finding the object suffix
@ 2004-03-25 10:53 Nils M Holm
  2004-03-25 11:57 ` David Presotto
  0 siblings, 1 reply; 3+ messages in thread
From: Nils M Holm @ 2004-03-25 10:53 UTC (permalink / raw)
  To: 9fans


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 <nmh@t3x.org> -- http://www.t3x.org/nmh/


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-03-26  7:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-03-25 10:53 [9fans] Finding the object suffix Nils M Holm
2004-03-25 11:57 ` David Presotto
2004-03-26  7:14   ` Nils M Holm

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).