keep-header

Keep first line untouched by a command, passing it directly to stdout. More information: https://github.com/eBay/tsv-utils#keep-header.

keep-header path/to/file -- sort

keep-header path/to/file -- command

cat path/to/file | keep-header -- command

keep-header path/to/file -- grep pattern