rc-list - mailing list for the rc(1) shell
 help / color / mirror / Atom feed
From: mycroft@gnu.ai.mit.edu
To: rc@hawkwind.utcs.toronto.edu
Subject: Re: backquote poser
Date: Tue, 9 Mar 1993 07:13:29 -0500	[thread overview]
Message-ID: <9303091213.AA42953@hal.gnu.ai.mit.edu> (raw)
In-Reply-To: <199303092132.8960.rc.baful@civil.su.oz.au> from "John" at Mar 9, 93 06:32:13 am


> 	domain = ` { exec >[2] /dev/null; domainname }
> 
> Anyone got a cleaner idea?  For some reason it seems to me it should
> be able to be done more neatly.  I guess I mainly don't like needing
> a semicolon.

Snippets from my .rcrc:

EDITOR=`{which vi >[2] /dev/null || echo /usr/ucb/vi}
PAGER=`{which less >[2] /dev/null || which more >[2] /dev/null}
UNSHAR=`{which unshar >[2] /dev/null || echo /bin/sh}



  reply	other threads:[~1993-03-09 12:13 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1993-03-09 11:32 John Mackin
1993-03-09 12:13 ` mycroft [this message]
1993-03-09 12:28 Icarus Sparry

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9303091213.AA42953@hal.gnu.ai.mit.edu \
    --to=mycroft@gnu.ai.mit.edu \
    --cc=rc@hawkwind.utcs.toronto.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).