[colug-432] my shell is better^H^H^H^H^H^Hdifferent than yours: NSFW (but not for the reason you might think)

Jeff Frontz jeff.frontz at gmail.com
Tue Dec 6 08:39:40 EST 2011


On the AST (AT&T Software Technology) user's mailing list, Glen Fowler recently posted this snippet:

> ... the seemingly good idea of "no limits" is not always a good idea
> proof of concept: try this with bash on a system that you can reboot with a physical button:
> 
>        bash -c 'read line < /dev/zero'
> 

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).


Jeff




-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: SpamAssassinReport.txt
Url: http://lists.colug.net/pipermail/colug-432/attachments/20111206/334dfddf/attachment.txt 


More information about the colug-432 mailing list