---------- Original Message -----------
From: j_post <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Sent: Fri, 10 Jan 2003 17:55:31 -0800
Subject: Re: Passing args

> On Friday 10 January 2003 05:37 pm, you wrote:
> > The answer to this is probably so easy ...
> >
> > I want to be in a terminal and type ed filename and have the editor open
> > and start editing filename in the background.
> >
> > Easy, put an alias in /etc/profile

Oops, does not work at all if in /etc/profile (alias is totally ignored); 
needs to go /etc/bashrc.

> > alias ed="gedit $1 & "   <--- this one

That is what I thought. Unfortunately, it does not work. I type ed dummy.txt, 
the gedit editor opens with a blank page in the background, an error message 
appears on the terminal screen saying "bash: dummy.txt command not found."

This is on a RH 8 system.




-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to