TIP: Click on subject to list as thread! ANSI
echo: cis.os9.68000.osk
to: all
from: Carl Kreider 71076,76
date: 1994-02-13 22:03:13
subject: #sh tip

#: 19712 S12/OS9/68000 (OSK)
    13-Feb-94  22:03:13
Sb: #sh tip
Fm: Carl Kreider 71076,76
To: all

Some time ago I asked for input on what needed to be fixed in sh.  No I am not
on the verge if workin on it ...  But one of the complaints was the lack of
something equivalent to the profile command of shell.  Well, surprise,
surprise.  There is a thing called the dot command (that all good *nix guys
knew about but didn't tell us) that does what is desired.  That is:
  $ scriptfile     will fork a copy of sh to process 'scriptfile'.
  $ . scriptfile   will process 'scriptfile' in the current sh.
That is dot space scriptfile.

Feel free to pass this folklore to any and all who also use sh!

Carl

There is 1 Reply.

SOURCE: compuserve via textfiles.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.