Another BASH Scripting question

William Park opengeometry-FFYn/CNdgSA at public.gmane.org
Wed Feb 11 07:08:04 UTC 2004


On Tue, Feb 10, 2004 at 08:49:29PM +0200, Peter L. Peres wrote:
> >
> > Hint:
> >     for i in $SRV_NAME; do
> > 	IFS=: read pubip inetip <<< "`eval echo \$${i}_SNAT_IP`"
> >     done
> 
> This command refuses to work on my system (bash 2.02)

Try latest Zsh or Bash.  It is called "here-string", along the line as
"here-document".  

-- 
William Park, Open Geometry Consulting, <opengeometry-FFYn/CNdgSA at public.gmane.org>
Linux solution for data management and processing. 
--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list