If this is your first visit, be sure to check out the FAQ by clicking the link above.
You may have to register before you can post: click the register link above to proceed.
To start viewing messages, select the forum that you want to visit from the selection below.
#!/bin/ksh
print=no
while read line
do
if [ $line = Brooklyn ]
then
print=no
fi
if [ $print = yes ]
then
echo $line
fi
if [ $line = Detroit ]
then
print=yes
fi
done