lphillips@lpami.wimsey.bc.ca (Larry Phillips) (12/22/89)
Just a short note, commenting on the rather complete shell feature comparison posted by Edwin (Thanks Edwin.. nice job), with reference to WShell features listed. In <10050@microsoft.UUCP>, w-edwinh@microsoft.UUCP (Edwin HOOGERBEETS) writes: > Dillon Hawes CBM/ARP Koren > shell WShell Shell Sksh csh sh > ------- ------- ------- ----- ---------- >multiple command yes no no yes yes yes >lines ^^ WShell, in combination with ARexx, does offer multiple command line capability, and better, multiple command lines interspersed with Arexx commands/functions. To use this feature, one need only prepend a double quote to the beginning of the line. "list; info; dir Often, I want to do some simple thing that I don't want to write and keep a script for. The other day, I needed to check the integrity of a restore from a backup tape... "x=showdir('','f'); do i=1 to words(x); cmp word(x,i) 'dh2:s/' || word(x,i);end >Merry Christmas, Happy Hannukah, and Happy New Year! Merry Christmas Edwin, and the same or equivalent to all on the net. >Edwin -larry -- " All I ask of my body is that it carry around my head." - Thomas Alva Edison - +-----------------------------------------------------------------------+ | // Larry Phillips | | \X/ lphillips@lpami.wimsey.bc.ca -or- uunet!van-bc!lpami!lphillips | | COMPUSERVE: 76703,4322 -or- 76703.4322@compuserve.com | +-----------------------------------------------------------------------+
w-edwinh@microsoft.UUCP (Edwin HOOGERBEETS) (12/22/89)
In an effort to stop the shell wars that sometimes crop up, (although
they are not raging now) I have made up this chart that lists the
features of 4 common Amiga shells. The list of features of two popular
Unix shells are also put in to throw the Amiga shells into sharp relief.
(sounds poetic, eh?)
Please email me if you can add a feature that is not listed or you know
the features of another Amiga shell. [Numbers] in square brackets indicate
footnotes. (see below)
(For people sending me submissions for the intro posting or responses to
this posting: my email address is changing to edwin@watcsc.waterloo.edu
or uunet!watmath!watcsc!watcsc as of Dec. 22. Please do not mail to
microsoft anymore.)
Summary of Shell Features
=========================
Amiga Shells----------------- Unix Shells
Dillon Hawes CBM/ARP Koren
shell WShell Shell Sksh csh sh
------- ------- ------- ----- ----------
scripting yes yes yes yes yes yes
[3] [1] [2] [2,3]
file name yes no no yes yes no
completion [4] [5]
aliases yes yes yes yes yes no
history real conman newcon yes yes no
conman
multiple command yes no no yes yes yes
lines
auto directory no yes no no no no
change (input
directory name
to cd to it)
builtin versions yes yes yes yes yes yes
of external [12] [6]
commands
resident list no yes yes soon n/a n/a
shared text no yes yes yes done by OS
(ie. residentable)
own path yes yes no yes yes no
[7]
`backtick` type no no yes yes yes yes
mechanism [12] [8]
pipes faked conman conman faked yes yes
[12]
line editing yes conman newcon yes no no
redirection yes yes yes yes yes yes
< and > [9]
append >> yes yes yes yes yes yes
take from << no no no yes yes yes
wildcarding yes no no yes yes yes
shell variables yes no no yes yes yes
setable prompt ascii yes yes yes yes ascii
[10,11] [10] [10,11] [10]
setable titlebar no yes no yes n/a n/a
[10,11] [10,11]
auto-startup .cshrc Startup-WShell .skshrc .cshrc .profile
script Shell-Startup
Footnotes:
1. Recognizes ARexx (ADOS 1.4) or Execute scripts
2. Includes #! mechanism for scripts of other shells
3. Executable ascii text (sometimes needs script bit set)
4. Only some custom versions have file name completion, however
5. Rumoured to be coming soon
6. Large version does have builtins and small version doesn't
7. special bonus -- comes with PathMan
8. Backtick mechanism handled by $(command) replacement to be able to
nest commands
9. Somewhat restrictive in the placement, however
10. Setable with special restricted symbols (which expand to specific things)
11. May insert a command into string which outputs new prompt
12. Only the ARP version
Merry Christmas, Happy Hannukah, and Happy New Year!
Edwinw-edwinh@microsoft.UUCP (Edwin HOOGERBEETS) (12/22/89)
In article <10050@microsoft.UUCP> edwin@watcsc.waterloo.edu (Edwin Hoogerbeets) writes: >(For people sending me submissions for the intro posting or responses to > this posting: my email address is changing to edwin@watcsc.waterloo.edu > or uunet!watmath!watcsc!watcsc as of Dec. 22. Whoops! Sorry, make that uunet!watmath!watcsc!edwin > Please do not mail to > microsoft anymore.) Edwin