Basic piping
Read a file and pass it to a tool:Chaining tools
Pipe the output of one tool into another:Processing multiple files
Use standard Unix tools to process batches:xargs:
Filtering with jq
Parse JSON output and filter:Real-world examples
Support ticket pipeline
Turn support emails into Linear issues and notify Slack:PR merge notification
When a PR is merged, notify the team:Daily digest
Aggregate data from multiple sources:stdin flag
Some tools accept--stdin to read input:
--help for each toolβs stdin behavior.
Error handling in pipelines
Useset -e to stop on errors: