On Tue, 31 May 2022 20:44:49 -0500, Kirk Wolf wrote:

>find -exec is a generally poor choice for doing something efficiently, 
>especially on z/OS.
>
find ... | xargs -0 ... would be more efficient, but z/OS doesn't support xargs 
-0.
Does Rocket's findutils do better?

>find -exec  is an extremely popular way to demonstrate a heaping dose of 
>impenetrable syntax
>
Is it any less penetrable than the shell syntax itself?

I looked at Single UNIX xargs:
<https://pubs.opengroup.org/onlinepubs/9699919799/utilities/xargs.html#tag_20_158_03>
describes an impenetrable syntax for escaping non-portable pathname characters.
It mentions no application that generates a file with such syntax.  How did 
that come to
be part of a standard?  I suspect it's a spiteful reaction to Linux.

z/OS Command Ref mentions no such escaping convention.

-- 
gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to