What exactly is wrong with just using Ctr-C to cancel this? Seems to work for me. I don't like the idea of a shell restricting my options to keep me from doing something dumb. That's what my brain is there for...<div>
<br></div><div>I guess it is a matter of opinion, but I like Nanny shells about as much as I like Nanny states...</div><div><br><div class="gmail_quote">On Tue, Dec 6, 2011 at 8:39 AM, Jeff Frontz <span dir="ltr"><<a href="mailto:jeff.frontz@gmail.com">jeff.frontz@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On the AST (AT&T Software Technology) user's mailing list, Glen Fowler recently posted this snippet:<br>
<br>
> ... the seemingly good idea of "no limits" is not always a good idea<br>
> proof of concept: try this with bash on a system that you can reboot with a physical button:<br>
><br>
> bash -c 'read line < /dev/zero'<br>
><br>
<br>
The context was why doesn't ksh let you read an arbitrarily long line of text with the built-in "read" command (and why that limitation is on purpose, but unfortunately undocumented).<br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
Jeff<br>
<br>
<br>
<br>
<br>
</font></span><br>Spam detection software, running on the system "<a href="http://lists.colug.net" target="_blank">lists.colug.net</a>", has<br>
identified this incoming email as possible spam. The original message<br>
has been attached to this so you can view it (if it isn't spam) or label<br>
similar future email. If you have any questions, see<br>
the administrator of that system for details.<br>
<br>
Content preview: On the AST (AT&T Software Technology) user's mailing list,<br>
Glen Fowler recently posted this snippet: > ... the seemingly good idea of<br>
"no limits" is not always a good idea > proof of concept: try this with bash<br>
on a system that you can reboot with a physical button: > > bash -c 'read<br>
line < /dev/zero' > [...]<br>
<br>
Content analysis details: (5.0 points, 5.0 required)<br>
<br>
pts rule name description<br>
---- ---------------------- --------------------------------------------------<br>
3.8 BAYES_99 BODY: Bayes spam probability is 99 to 100%<br>
[score: 1.0000]<br>
0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider<br>
(vdgr3dok[at]<a href="http://hotmail.com" target="_blank">hotmail.com</a>)<br>
(jeff.frontz[at]<a href="http://gmail.com" target="_blank">gmail.com</a>)<br>
1.2 GAPPY_SUBJECT Subject: contains G.a.p.p.y-T.e.x.t<br>
0.0 T_DKIM_INVALID DKIM-Signature header exists but is not valid<br>
<br>
<br>
<br>_______________________________________________<br>
colug-432 mailing list<br>
<a href="mailto:colug-432@colug.net">colug-432@colug.net</a><br>
<a href="http://lists.colug.net/mailman/listinfo/colug-432" target="_blank">http://lists.colug.net/mailman/listinfo/colug-432</a><br>
<br>Spam detection software, running on the system "<a href="http://lists.colug.net" target="_blank">lists.colug.net</a>", has<br>
identified this incoming email as possible spam. The original message<br>
has been attached to this so you can view it (if it isn't spam) or label<br>
similar future email. If you have any questions, see<br>
the administrator of that system for details.<br>
<br>
Content preview: On the AST (AT&T Software Technology) user's mailing list,<br>
Glen Fowler recently posted this snippet: > ... the seemingly good idea of<br>
"no limits" is not always a good idea > proof of concept: try this with bash<br>
on a system that you can reboot with a physical button: > > bash -c 'read<br>
line < /dev/zero' > [...]<br>
<br>
Content analysis details: (5.0 points, 5.0 required)<br>
<br>
pts rule name description<br>
---- ---------------------- --------------------------------------------------<br>
3.8 BAYES_99 BODY: Bayes spam probability is 99 to 100%<br>
[score: 1.0000]<br>
0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider<br>
(sefrie-bbs[at]<a href="http://yahoo.com" target="_blank">yahoo.com</a>)<br>
(jeff.frontz[at]<a href="http://gmail.com" target="_blank">gmail.com</a>)<br>
(jeff.frontz[at]<a href="http://gmail.com" target="_blank">gmail.com</a>)<br>
1.2 GAPPY_SUBJECT Subject: contains G.a.p.p.y-T.e.x.t<br>
<br>
<br>
<br></blockquote></div><br></div>