|
Hi Hans
...
As to grep in CL (I guess this might be a trick question) I am unaware of an
equivalent and have not bothered going looking. Since there is no
STDIN/STDOUT piping in the standard QCMD shell it seems to me that grep
would be relatively useless, or at best extremely hobbled (but I'm open to
being educated). If I wanted to use grep I would work in QSHELL and have in
the past made good use of this.
...
Again, going back to your earlier script example - don't you think a less
terse example might help the next guy no matter how attractive or cool it is
to use the shorter format to demonstrate that you know the switches ? Why
force the next guy to (potentially) go check the manpage when the longer
example might prevent this ? As I asked earlier, would you accept
programmers doing the same thing in a HLL ? What makes it OK in a shell
script ?
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.