---

Bash: Redirecting Input from Multiple Files

“For the sake of this example, let’s say that we want to
implement a simple version of the paste command as a bash script.
The paste command reads a line from each of its input files and
then pastes them together and writes the combined result to stdout
as a single line. Our example version will only do this for two
input files.”


Complete Story

Get the Free Newsletter!

Subscribe to Developer Insider for top news, trends, & analysis