#: 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.
|