Article View: gnu.bash.bug
Article #1049alias question
From: Axel Fischer
Date: Fri, 15 Dec 1989 18:15
Date: Fri, 15 Dec 1989 18:15
25 lines
1113 bytes
1113 bytes
OS: 386/iX 2.02 (SYS V.3)
BashVersion: 1.03
What is wrong with the following alias ? :
alias rm="/bin/mv \!* /usr/spool/limbo"
mv tells me: "Target must be directory"
Ok, I thought, it's not like csh it's like ksh:
alias rm="/bin/mv \$* /usr/spool/limbo"
"rm foo"
mv tells me: "mv: foo exists"
What am I doing wrong ?
I can't use a function cause of the SIGIOT I get (the other posting)
-Axel
--
fischer@utower.gopas.sub.org / fischer@db0tui6.BITNET / fischer@tmpmbx.UUCP
Bang-Europe : ...!{doitcr,gopnbg,tmpmbx}!utower!fischer
Bang-USA : ...!uunet!unido!gopnbg!utower!fischer
Too low for zero ...
Technical Details
Message-ID:
<XXL&N*@utower.gopas.sub.org>Path:
arc1-ca.pugleaf.net!utzoo!telly!attcan!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!mcsun!unido!tub!tmpmbx!utower!fischerShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!telly!attcan!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!mcsun!unido!tub!tmpmbx!utower!fischer From: fischer@utower.gopas.sub.org (Axel Fischer) Newsgroups: gnu.bash.bug Subject: alias question Message-ID: <XXL&N*@utower.gopas.sub.org> Date: 15 Dec 89 18:15:50 GMT Reply-To: fischer@utower.gopas.sub.org Distribution: gnu Organization: Me, Myself and I (Berlin, West Germany) Lines: 25