On Saturday 26 November 2005 11:16 am, John Smith wrote:
> Hi All,
>
> does somebody know why I keep losing the first character of the
> third resulting string?
>
> Sincerely,
<snip>
> echo -n "3 ===";echo -n ${MD5PW} | tr ' ' '\n' | while read char ; do awk \
> '{printf("%c",$char)}' ; done ; echo "===" user@testbox:/home/user/tmp
Try to replace "awk" with "echo $char | awk".
I know that doesn't answer your question.
David
<snip>