Re: [dev] [sbase] find and xargs different results than busybox

From: Eric Pruitt <eric.pruitt_AT_gmail.com>
Date: Tue, 17 Jul 2018 19:28:25 -0700

On Tue, Jul 17, 2018 at 07:05:43AM -0700, Evan Gates wrote:
> find -print0 is not specified by POSIX. If you want to print nul
> separated data use:

The suckless tools don't strictly follow POSIX. For example, sbase mv(1)
and cp(1) don't support "-i". Furthermore it's pretty portable; find(1)
on OpenBSD, FreeBSD, macOS and GNU find(1) all support using NUL bytes.
It's the only sane way to securely support any legal filename.

Eric
Received on Wed Jul 18 2018 - 04:28:25 CEST

This archive was generated by hypermail 2.3.0 : Wed Jul 18 2018 - 04:36:07 CEST