@BryanLunduke

cat <file> |grep -i <pattern>

or

grep <pattern > <file>

discuss.

@JaseEW @BryanLunduke That could be interesting, especially if you throw awk in the mix. Then go a step further, and sub awk in for grep , thereby eliminating one of the pipes.