...
- Strip the header line off the input using anonymous pipe syntax
<(tail -n +2 sampleinfo.txt)
.- This syntax takes the standard output of the expression in parentheses (a sub-shell) and that can be used as input instead of a file
:
<4< 4< <(tail -n +2 sampleinfo.txt)
instead of4< sampleinfo.txt
.
- This syntax takes the standard output of the expression in parentheses (a sub-shell) and that can be used as input instead of a file
- Save all output from the while loop to a file by piping to tee.
...