Read loop lossage
Jun. 19th, 2007 09:28 pmThe following works under genuine AT&T Korn shell, but fails under pdksh:
I'd attribute this to the usual ksh lossage if wasn't for the fact that bash does the same thing. Could it be that it's AT&T in the wrong and pdksh in the right? That'd be a first.
v=0echo 1 | while read pdov=1doneecho $vI'd attribute this to the usual ksh lossage if wasn't for the fact that bash does the same thing. Could it be that it's AT&T in the wrong and pdksh in the right? That'd be a first.