Uhm, shouldn't you be in bed by now <grin>. Thank you for the response, but I still cannot get it to work on a RH 8 machine.
---------- Original Message ----------- From: Mad Hatter <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Sent: Fri, 10 Jan 2003 22:06:48 -0800 (PST) Subject: Re: Passing args > Not sure where this thread originated but positional > parameters work in aliases, you just need to escape > the '$': > $ alias hello="echo got \$1" > $ hello abc > got abc [root@www root]# cat .bashrc # .bashrc # User specific aliases and functions alias rm='rm -i' alias cp='cp -i' alias mv='mv -i' # Source global definitions if [ -f /etc/bashrc ]; then . /etc/bashrc fi alias ged="gedit \$1 &" [root@www root]# alias alias cp='cp -i' alias d='ls -al' .... alias ged='gedit $1 &' [root@www root]# ged dummy.txt [1] 4953 bash: dummy.txt: command not found which starts gedit with a blank page ... Made a full circle --- it should not be this difficult? Thanks again, Mike. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list