awk can do everything itself. grep can take a (single) file as input. No *nix-person is going to do cat of one file into grep and then into awk. cat of two files would be good, (concatenation in the JCL) and that would be fine input for grep, but then head, or tail, or something else like that.
If you use an example something they wouldn't use, it won't have the same bite. On Friday, 5 February 2016 16:41:08 UTC, Tom Brennan wrote: > I used cat/grep/awk because I saw it used so often by people in the > unix/linux team I used to work with. Maybe it was just a quirk of that > group, or like our JCL where once someone codes it everyone else copies it. > ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
