Re: [foxboro] while...do defunct?

Just had a similar experience while using mk_foxcae on an AW70P on I/A
v.7.1.

As workaround, had to edit following lines from the file cnvt_icc.ksh as
follows:

   echo `{...some iccdrvr.tsk/awk tasks to generate blocknames for a given
compound...}` \
   | while read blk
   do
      {...statements to process block...}
   done

Modifed to:

   # Defined before main compound loop
   BLK_LIST=/tmp/cae_blk.lst
   ...

   echo `{...some iccdrvr.tsk/awk tasks to generate blocknames for a given
compound...}` \
   > $BLK_LIST
   while read blk
   do
      {...statements to process block...}
   done < $BLK_LIST

   ...
   # Clean-up after main compound loop
   rm -f $BLK_LIST

Regards,
Edwin Nasol
Sr. Engineer
Invensys Software Sys. (Singapore) P/L
-----

From: Sascha Wildner <swildner@xxxxxxxxxx> 
To: Foxboro DCS Mail List <foxboro@xxxxxxxxxxxxx> 
Date: Wed, 16 Jul 2003 08:10:32 +0200 
List (or what's left of it),

has anyone noticed, that the MKS Korn Shell behaves, well, a bit "weird" 
on the new I/A 7.0 Windows XP platform?  The following test failed on 
three XP machines I tried:

ls | while read FILE
do
echo $FILE
done

This will print always only _one_ file on XP...On NT it works correctly 
(read: scripts that ran fine on NT don't necessarily work on XP).

Could someone confirm this behavior?

Regards,
Sascha


 
 
_______________________________________________________________________
This mailing list is neither sponsored nor endorsed by Invensys Process
Systems (formerly The Foxboro Company). Use the info you obtain here at
your own risks. Read http://www.thecassandraproject.org/disclaimer.html
 
foxboro mailing list:             http://www.freelists.org/list/foxboro
to subscribe:         mailto:foxboro-request@xxxxxxxxxxxxx?subject=join
to unsubscribe:      mailto:foxboro-request@xxxxxxxxxxxxx?subject=leave
 

Other related posts: