[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: terminating lines with accidental eof
From: |
Bob Proulx |
Subject: |
Re: terminating lines with accidental eof |
Date: |
Tue, 4 Jul 2006 20:14:34 -0600 |
User-agent: |
Mutt/1.5.9i |
Martin Wheatley wrote:
> You also asked ...
>
> > Is there an example of
> > another command shell which handles this situation in a different and
> > possibly better way?
>
> /bin/sh handles the situation correctly (in our opinion)
On my system /bin/sh is a symlink to /bin/bash and behaves similarly.
But on other systems it may be a symlink to other shells or may be a
native posix shell implementation. Or on some systems trying to be
antiquated it may be a classic Bourne shell. Many posix shell
implementations are based upon the AT&T ksh. On the systems I tested
they all behaved like bash does here.
Bob