How do I pass some input to a command line by line (ie. invoke the command for every line)?
xargs does not work because it passes the lines as arguments, not as standard input.
The specific case where this came up was decoding a file whose lines were base64-encoded strings.