4 ms·
> setting up a data source at the left of the pipe in a way that's easy to modify to swap in a different kind of data source: Just replace cat file | wit
by LukeShu 13y ago
> setting up a data source at the left of the pipe in a way that's easy to modify to swap in a different kind of data source:
Just replace
cat file |
with
<file
It still keeps the data source on the left, and easily swapped out:
<file grep xyz