"cat [file] | grep [regex]" can be a useful teaching tool because you can first show the STDOUT spew from cat, then show them the output can be piped into another app. Crawling before walking...
This kind of incremental instruction is useful for beginners.
"cat [file] | grep [regex]" can be a useful teaching tool because you can first show the STDOUT spew from cat, then show them the output can be piped into another app. Crawling before walking... This kind of incremental instruction is useful for beginners.