On Wed, Feb 25, 2004 at 08:43:00AM +0100, Kirk McElhearn wrote: > > 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). > > Yes, that's what I found. The original tcsh alias has the argument \!. Is > there no way other than using functions? Because then it won't work as an > alias, right? It'd have to be a shell script, and that's something I want to > avoid. What exactly are you trying to accomplish? IIRC, a function in bash is kept in memory and no disk access is done when they are executed. They are basically aliases on steroids. Does the \! thing in tcsh have to do w/ the history? -- ~'`^`'~=-.,__,.-=~'`^`'~=-.,__,.-=~'`^`'~=-., \|/ (___) \|/ _,.-=~'`^` @~./'O o`\.~@ "Knowledge is Power" /__( \___/ )__\ *PPPFFBT!* -- Francis Bacon `\__`U_/' _,.-=~'`^`'~=-.,__,.-=~'`^`'~=-.,__,.-=~'`^`'~= <____|' ^^`'~=-.,__,.-= ~`'^`'~=-.,__,.-=~'`^`'~=-.,__,.-=~'`^`'~=-.,__,.-==--^'~=-.,__,.-=~'`^`