Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Oct 2020 16:20:05 -0400
From:      Lowell Gilbert <>
To:        Robert Huff <>
Subject:   Re: sh scripting question
Message-ID:  <>
In-Reply-To: <> (Robert Huff's message of "Fri, 16 Oct 2020 08:00:32 -0400")
References:  <> <> <20201016113408.16d58d68@archlinux> <> <>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
Robert Huff <> writes:

> 	OP here.
> 	The filenames at hand were generated by "find" and - on casual
> inspection - have no oddities other than the embedded spaces.

Since find is in use, I think the canonical solution is
to use "find -print0"..."xargs -0"

But it's not always convenient to use that mechanism, so
there are other methods that have been used quite a few
times, depending on the tools the user is comfortable
with. In my case, it might involve an inline sed
invocation to add the quoting for the spaces.

Be well.

Want to link to this message? Use this URL: <>