rc-list - mailing list for the rc(1) shell
 help / color / mirror / Atom feed
From: haahr@mv.us.adobe.com (Paul Haahr)
To: alan@oldp.astro.wisc.edu
Cc: rc@hawkwind.utcs.toronto.edu
Subject: Re: rc 1.5
Date: Sat, 17 Apr 1993 12:56:19 -0400	[thread overview]
Message-ID: <9304171656.AA11180@astro.mv.us.adobe.com> (raw)

> > The reason I would like "." to search the path is that then I
> > can create the directory /usr/bin/rclib, and store
> > scripts in there.  Then my scripts can just say
> >	. rclib/read
> > to load the read function that I have stored there.

> Try:
> 	rclib = /usr/bin/rclib
> 	. $rclib/read

other alternatives:

	fn load {
		for (i in $*) . /usr/bin/rclib/^$i
	}
	load read

	es and autoloading of shell functions :-)

paul


             reply	other threads:[~1993-04-17 16:55 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1993-04-17 16:56 Paul Haahr [this message]
  -- strict thread matches above, loose matches on Subject: below --
1993-04-17 16:47 Alan Watson
1993-04-16 22:21 Byron Rakitzis
1993-04-17 11:51 ` David J. Fiander
1993-04-19 11:59   ` Chet Ramey
1993-04-16 19:14 Memory leaking Byron Rakitzis
1993-04-16 22:04 ` rc 1.5 David J. Fiander

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=9304171656.AA11180@astro.mv.us.adobe.com \
    --to=haahr@mv.us.adobe.com \
    --cc=alan@oldp.astro.wisc.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).