On 11/26/05, Jan de Haan <[EMAIL PROTECTED]> wrote: > David Koski <[EMAIL PROTECTED]> wrote: > > > echo -n "3 ===";echo -n ${MD5PW} | tr ' ' '\n' | while read char ; do awk > > > \ > > > '{printf("%c",$char)}' ; done ; echo "===" [EMAIL > > > PROTECTED]:/home/user/tmp > > > > Try to replace "awk" with "echo $char | awk". > > I know that doesn't answer your question. > > thanks for your answer. > I loose the last character now ;-)
Have you tried removing the "-n" from "echo"? I'd guess that read is waiting for the last carriage return, which you've inhibited. -- Michael A. Marsh http://www.umiacs.umd.edu/~mmarsh http://mamarsh.blogspot.com