Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!cs.utexas.edu!uunet!mcvax!unido!pcsbst!jkh From: jkh@pcsbst.UUCP (jkh) Newsgroups: gnu.bash.bug Subject: Alias bug in BASH 1.01 Message-ID: <926@pcsbst.UUCP> Date: 18 Jul 89 19:40:59 GMT Reply-To: jkh@meepmeep.pcs.com ( Jordan K. Hubbard ) Organization: PCS GmbH, Pfaelzer-Wald-Str. 36, 8000 Muenchen; West-Germany Lines: 29 Expires: References: Followup-To: Distribution: Keywords: The alias code is broken. Try the following: bash% alias retch='echo \!*' bash% retch foo bar blat !* foo bar blat bash% The !* should expand into the current arg list, ala csh. None of the other ! constructs work in aliases either. Jordan P.S.: function setenv () { eval $1=$2 export $2 } Works like a charm! Good job! I was all set to gripe about not having setenv and being used to it and all, then I tried that.. Ahem.. Never mind. -------- Jordan Hubbard PCS Computer Systeme GmbH West Germany UUCP: {uunet,decwrl}!pyramid!pcsbst!jkh ARPA: jkh@violet.berkeley.edu