|From: Vince Oliver [mailto:[EMAIL PROTECTED]
|I would like to set some aliases in .bashrc that shall do some
|usefull things like:
|
|alias al="echo $PATH | awk 'BEGIN{FS=":"} {for(i=1;i<=NF;i++)
|print $i}'"
|
|
|This alias in not executed. How to define such aliases?
|
You need execution quotes, and it is a bad idea to use
the same quotes inside as you use to terminate entire string
alias al=`echo $PATH | awk 'BEGIN{FS=":"} {for(i=1;i<=NF;i++) print $i}'`
--
MortenB
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]