Mailing List Archive


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

Re: [tlug] sh bug



On Wed, Feb 19, 2003 at 09:52:03PM -0500, Viktor Pavlenko wrote:
> >>>>> "JDB" == J David Beutel <jdb@example.com> writes:
> 
> 
> I was afraid I would have to explain :( But I though it'd be JC :)
> 
> sh interprets exit inside the while loop (only if it's fed from stdin)
> as break. This contradicts the man page. Re. obfuscation, I always do
> such things on command line, so that I don't have to save a file and
> make it executable. No intentional obfuscation was intended. Come on,
> it's just one line of code.
> 

Apparently this is a solaris bug, or netbsd just doesn't have the same
bug as the rest of the unix world.  I assumed it was a parser error
based on that.  For what its worth the feature/bug is extant in 
Solaris9.

--Matt


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links