MLUG: [MLUG] bash aliases
[MLUG] bash aliases
Email address obfuscation in effect -- please click here to turn it off.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
As I said, I am gradually converting over to bash from tcsh, but I'm not sure how this is done in bash:

alias emacs 'emacs -d $DISPLAY -i -T "Emacs: EMAIL:PROTECTED: \!$" \!* &'

That's from the tcsh initialization file. The thing I'm not sure of is at the end of the line. Specifically:

!$  which designates the last argument from the command line
!*  which designates all arguments from the command line

The exclamation point has to be escaped with a backslash for the shell to interpret it correctly. How is this coded in a bash alias in ~/.bashrc?

Mike

_______________________________________________
members mailing list
EMAIL:PROTECTED
http://mlug.missouri.edu/mailman/listinfo/members