On 1/19/07, cassiano <[EMAIL PROTECTED]> wrote:
Why not just

$ echo alias aliasname=\"alias commands\" >> ~/.bashrc

Well, that would require typing that entire command manually every
time.  The idea is to have an alias that makes new aliases.  If you
had this in your .bashrc:

alias newalias="echo alias aliasname=\"alias commands\" >> ~/.bashrc"

...how would you then type something like:

$ newalias aliasname "alias command"

...and have it work?  Aliases don't support $1 or $@, do they?


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to