Most of the times I wanted to do "while read { x }" I could rewrite it to be "sed 's/^/x /' | rc", which works like a charm.