rc-list - mailing list for the rc(1) shell
 help / color / mirror / Atom feed
From: "Mark H. Wilkinson" <mhw@mft.co.uk>
To: rc@hawkwind.utcs.utoronto.ca
Subject: "dot" doesn't search path
Date: Thu, 22 Jul 1999 06:18:37 -0400	[thread overview]
Message-ID: <3796EFFD.E55E11CD@mft.co.uk> (raw)

the rc paper says

. [-i] file ...
     file. $* is set for the duration to the reminder of the argument
list following file. $path is used to search for file. Option -i
indicates interactive input ­ a prompt (found in $prompt) is printed
before each command is read.

the Unix man page says

     . [-i] file [arg ...]
          Reads file as input to rc and  executes  its  contents.
          With a -i flag, input is interactive.  Thus from within
          a shell script,

               . -i /dev/tty

          does the ``right'' thing.

note that $path isn't searched in the Unix rc. is this just an
oversight? I'd certainly find it useful if it did search $path. ".
/usr/local/bin/rcoraenv" is a bit of a handful.

-Mark.




                 reply	other threads:[~1999-07-24  7:01 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=3796EFFD.E55E11CD@mft.co.uk \
    --to=mhw@mft.co.uk \
    --cc=mhw@kremvax.demon.co.uk \
    --cc=rc@hawkwind.utcs.utoronto.ca \
    /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).