Path: utzoo!attcan!uunet!tut.cis.ohio-state.edu!ucbvax!STC06.CTD.ORNL.GOV!de5 From: de5@STC06.CTD.ORNL.GOV (SILL D E) Newsgroups: comp.unix.questions Subject: Bourne shell oddity Message-ID: <9008071535.AA01487@stc06.CTD.ORNL.GOV> Date: 7 Aug 90 15:35:07 GMT Sender: daemon@ucbvax.BERKELEY.EDU Reply-To: de5@ornl.gov Organization: Oak Ridge National Lab Lines: 43 What should the following script do? #!/bin/sh foo=bar while true do if [ $foo = bar ] then foo=baz echo foo=${foo} break fi done