Re: patch for "bizarre read bug" in klibc dash

From: Alexander E. Patrakov
Date: Wed Jun 14 2006 - 23:52:58 EST


Joshua Hudson wrote:
I had forked ash awhile back, patched up a few things to behave the
way I wanted them.
While I was at it, I fixed the "echo X | read X ; echo $X" bug that
echoed a blank line.
I tried awhile ago to raise who was responsible for the code and got nowhere.

Have you tested your line with bash? Here it prints an empty line. You really should use "echo X | ( read X ; echo $X )".

So I don't think that ash is broken, and thus cannot acknowledge the patch.

--
Alexander E. Patrakov

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/