On Tue, Apr 26, 2016 at 9:47 AM, Isabella Parakiss wrote:
>
> find's man page has some god-awful examples:
>
> > find . -type f -exec file '{}' \;
> >
> > Runs `file' on every file in or below the current directory. Notice
> > that the braces are enclosed in single quote marks to protect them
> >
I quite like the idea. Here's an example implementation of a flag that
could be used in a shell function/alias, if that's your thing. Comments?
On Sun, Apr 17, 2016 at 9:12 PM, Bernhard Voelker
wrote:
> On 04/10/2016 04:26 PM, 積丹尼 Dan Jacobson wrote:
> >> "BV" == Bernhard Voelker writes:
Follow-up Comment #5, bug #48314 (project findutils):
The C standard does not guarantee NULL pointers from xzalloc(), but POSIX
does:
http://austingroupbugs.net/view.php?id=940
and GNU has relied on that for years, with no real complaints of a
compiler/platform mis-handling NULL.
___
Follow-up Comment #4, bug #48314 (project findutils):
One minor nit about the use of xzalloc: it sets the bits to zero, but this is
not guaranteed by the C standard to set pointer members to NULL (since NULL is
not guaranteed to be all-bits-zero).
___