rc-list - mailing list for the rc(1) shell
 help / color / mirror / Atom feed
* "dot" doesn't search path
@ 1999-07-22 10:18 Mark H. Wilkinson
  0 siblings, 0 replies; only message in thread
From: Mark H. Wilkinson @ 1999-07-22 10:18 UTC (permalink / raw)
  To: rc

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.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1999-07-24  7:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-07-22 10:18 "dot" doesn't search path Mark H. Wilkinson

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).