Re: Beginner's question on command substitution
- From: Janis Papanagnou <Janis_Papanagnou@xxxxxxxxxxx>
- Date: Sun, 14 Oct 2007 14:01:51 +0200
Eze wrote:
Thanks for your reply, Janis. Don't pay too much attention to this
thread... I think I'm still a bit too lost and may re-post in the
future. I did mean the "$@" shortcut in the for loop, and all I can
articulate is that I'm puzzled by the error I get,
-bash: for: command not found
How come bash cannot "find" for? Again, the best explanation may just
be RTFM.
If you want the shell to perform another parsing iteration to interpret
the for statement in the file you can use 'eval'...
eval $( cat myscript )
Janis
.
Thanks again,
Eze
- Follow-Ups:
- References:
- Beginner's question on command substitution
- From: Eze
- Re: Beginner's question on command substitution
- From: Janis Papanagnou
- Re: Beginner's question on command substitution
- From: Eze
- Beginner's question on command substitution
- Prev by Date: Re: Beginner's question on command substitution
- Next by Date: Re: Beginner's question on command substitution
- Previous by thread: Re: Beginner's question on command substitution
- Next by thread: Re: Beginner's question on command substitution
- Index(es):
Relevant Pages
|