tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: What should we do with the -n flag in sh ?



On Mon, Feb 22, 2016 at 09:14:17PM +0700, Robert Elz wrote:
> ...   If you have both the I and n options set,
> there is no way (from inside the shell) to make it quit - if you send
> it EOF, it tells you nicely to use "exit" to exit, but when you try
> that, it ignored you (as it should.)

At least one shell I've used exited on about the 10th consequetive EOF
even when 'I' is set.

Otherwise you are in trouble when a scripts sets 'I'.

	David

-- 
David Laight: david%l8s.co.uk@localhost


Home | Main Index | Thread Index | Old Index