hi all,

i have a bunch of aliases in ~/.bash_aliases like:

alias glebe1='ssh [EMAIL PROTECTED]'
alias glebe2='ssh [EMAIL PROTECTED]'

if i just run any of the aliases from the command line, all is well.

if i try to run:

for BOX in glebe1 glebe2 ; do
   $BOX <some command>
done

bash throws:
bash: glebe1: command not found
bash: glebe2: command not found

what am i missing about the way bash evaluates aliases?

cheers
justin
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to