Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: frank@niagara.nyo.dec.com (Frank Wortner)
Subject: Re: EOF and cntrl-D
Date: Mon, 11 Jul 1994 14:12:09 GMT	[thread overview]
Message-ID: <1994Jul11.141209.15331@datum.nyo.dec.com> (raw)
In-Reply-To: RSMITH.94Jul6150818@wisp5.physics.wisc.edu


In article <RSMITH.94Jul6150818@wisp5.physics.wisc.edu>, rsmith@wisp5.physics.wisc.edu (Randall Smith) writes:

|>  ctrl-D doesn't work to close a file.
|> It won't work in mailx, even with unset ignoreeof, and it won't work
|> to close a file with cat > file.txt ; text ; ctrl-D.  However, it
|> _will_ work to log out; ie, ctrl-D at the command prompt exits.  I'm
|> running tcsh 6.03.00

I just tried your examples under various shells.  Unfortnately, I don't
have a copy of tcsh handy. Control-D does cause an EOF under
GNU bash, /bin/sh, /bin/ksh, and /bin/csh.

						Frank



      reply	other threads:[~1994-07-11 14:12 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1994-07-06 20:08 EOF and cntrl-D Randall Smith
1994-07-11 14:12 ` Frank Wortner [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox