From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <98335459728434.tru64-unix-managers.marc@archive.invalid> From: Hannes Visagie Date: Wed, 28 Feb 2001 10:01:52 +0000 To: tru64-unix-managers Subject: Summary: Bug in sh, and ksh, X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=98335459728434 Thanks to: Robert Mulley Gavin Kreuter It is not a BUG. It is not a bug. ksh is looking for "EOF" to signal end to stdin. not "EOF ". Whitespace is important in this situation. It is the same as putting "EOF.", whereas you may see the "." or " " as unimportant the shell interprets the line as another command. -----Original Message----- From: Hannes Visagie [mailto:visagi_h@mtn.co.ug] Sent: Wednesday, 28 February, 2001 12:08 PM To: tru64-unix-managers@ornl.gov Subject: Bug in sh, and ksh, or not a bug ? << Shell Input. True65 5.1, no patches Importance: High Hi all Please confirm you can generate this bug, or is it not a bug. According to me it is a bug. in the following example you start a << EOF and end EOF between a if/fi statement. All OK. But now change to blablabla... <