On Tue, Feb 24, 2004 at 02:28:56PM +0100, Kirk McElhearn wrote: > I have the following alias for tcsh: > > alias dict ?curl -s dict://dict.org/d:\! <#_msocom_1> :1 | egrep -v > '^22.*|^250.*|^150.*'" > > I want to rewrite this for bash, but, as far as I understand, \! doesn't > work in bash aliases. Does anyone out there who is a bash expert know if > this is correct? If so, how can I get this to work in bash? Are you trying to use arguments? If so, this might be helpful from the bash man page: There is no mechanism for using arguments in the replacement text. If arguments are needed, a shell function should be used (see FUNCTIONS below). -- ~'`^`'~=-.,__,.-=~'`^`'~=-.,__,.-=~'`^`'~=-., \|/ (___) \|/ _,.-=~'`^` @~./'O o`\.~@ "Knowledge is Power" /__( \___/ )__\ *PPPFFBT!* -- Francis Bacon `\__`U_/' _,.-=~'`^`'~=-.,__,.-=~'`^`'~=-.,__,.-=~'`^`'~= <____|' ^^`'~=-.,__,.-= ~`'^`'~=-.,__,.-=~'`^`'~=-.,__,.-=~'`^`'~=-.,__,.-==--^'~=-.,__,.-=~'`^`