The temp-file version and the pipeline that replaces it
The temp-file version and the pipeline that replaces it
Answer
ls -l > tmp more tmp rm tmp ls -l | more
Three commands, one invented name and a round trip through storage, replaced by one line in which nothing is written to disk at all.
S&K 3e ch9 §9.11–9.12