rc-list - mailing list for the rc(1) shell
 help / color / mirror / Atom feed
From: Rich Salz <rsalz@bbn.com>
To: cks@hawkwind.utcs.toronto.edu, rc@archone.tamu.edu
Subject: Re:  is there any clever way to do 'read' in rc scripts?
Date: Mon, 16 Sep 1991 17:21:39 -0500	[thread overview]
Message-ID: <9109162221.AA01621@litchi.bbn.com> (raw)

Hmm, I agree that `{sed 1q} seems to read one too many lines.
This works okay for me, don't know about elsewhere:
	`{head -1}


             reply	other threads:[~1991-09-16 22:22 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1991-09-16 22:21 Rich Salz [this message]
  -- strict thread matches above, loose matches on Subject: below --
1991-09-17  8:26 malte
1991-09-16 22:25 Byron Rakitzis
1991-09-16 21:59 Chris Siebenmann

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=9109162221.AA01621@litchi.bbn.com \
    --to=rsalz@bbn.com \
    --cc=cks@hawkwind.utcs.toronto.edu \
    --cc=rc@archone.tamu.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).