RSanders@USGS2-MULTICS.ARPA (03/04/85)
I'm surprised the flames haven't reached me yet, but maybe all of you are both good shell script fixers and above petty flames :-). Anyway, this version of faketerm should work much better: #! /bin/sh term=$1 shift TERM=$term TERMCAP=/etc/termcap $* -- Rex
guy@rlgvax.UUCP (Guy Harris) (03/04/85)
> Anyway, this version of faketerm should work much better: > > ... > TERM=$term TERMCAP=/etc/termcap $* For a little extra refinement, try "$@" in place of $* (i.e., TERM=$term TERMCAP=/etc/termcap "$@" ). That will cause all arguments to be enclosed in quotes, so that arguments containing spaces, etc. won't be split into multiple tokens. -- Guy Harris {seismo,ihnp4,allegra}!rlgvax!guy