Newsgroups: comp.sys.atari.st
Path: utzoo!utdoe!david
From: david@doe.utoronto.ca (David Megginson)
Subject: MiNT sh(1) (maybe)
Message-ID: <1991Mar10.220416.8388@doe.utoronto.ca>
Reply-To: david@doe.utoronto.ca (David Megginson)
Organization: Dictionary of Old English Project, University of Toronto
Date: Sun, 10 Mar 1991 22:04:16 GMT


I posted an enquiry to comp.sources.wanted about the sources to the
PD Bourne shell which the PD ksh was based on. My guess is that the
Bourne shell binaries under MiNT will weight in at a little over 30K,
which would be nice and small for running shell scripts, etc. If I
can get an sh(1) running under MiNT (if I ever find the sources),
how would everyone feel about changing the system() function in
the MiNT library to use the shell rather than simulating it? The
advantages would be great; for example, the line

clean:
	rm -f *.o core

in a Makefile would do what it is supposed to, instead of looking for
a file called `*.o', and lines like

support.olb:
	cd support; make

would also work. I'd also like to get #! <shell> support built into
MiNT, so that we could run shell scripts from the desktop or shell
without fooling around with silly extensions like .ksh .sh .g .bat
etc. (bash emulates this, but it should probably be in the kernel).

Comments, suggestions, mindless flames about which computer has the
longest, um... you know?


David

-- 
////////////////////////////////////////////////////////////////////////
/  David Megginson                      david@doe.utoronto.ca          /
/  Centre for Medieval Studies          meggin@vm.epas.utoronto.ca     /
////////////////////////////////////////////////////////////////////////
