Bash: Redirecting Input from Multiple Files

37
Recently I needed to create a script that processed two input files. By processed I mean that the script needed to get a line from one file, then get a line from the second file, and then do something with them. Sounds easy enough, but it’s not that easy unless you know about some of bash’s extended redirection capabilities.

Link: linuxjournal.com

Category:

  • System Administration