On Fri, 5 Feb 2016 06:55:25 -0600, Bill Woodger wrote: >Tom, > >I think if you use that cat to grep to awk as an example, you'll get confusion >from the students. They'll say "why don't you just do it in awk?" or even reel >off an obscure Perl one-liner. > Or DFSORT. /* ( but not in one line.) */
>Using ls into grep into tail may be more realistic. > Lately I did "vi $( find ... | ls -rt | tail -1)" to edit the most recent matching file. But that can not be translated into a JCL teaching example. JCL partisans are free to rebut with, "UNIX provides no means to specify the RECFM, LRECL, or BLKSIZE of a UNIX file." -- gil ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN