On 2016-07-16,
lawren...@gmail.com <
lawren...@gmail.com> wrote:
> On Saturday, July 16, 2016 at 1:20:02 PM UTC+12, Kaz Kylheku wrote:
>> On 2016-07-15, Lawrence D’Oliveiro wrote:
>>> On Saturday, July 16, 2016 at 7:08:06 AM UTC+12, Chris F.A. Johnson wrote:
>>>>
>>>> On 2016-07-15, Lawrence D’Oliveiro wrote:
>>>>>
>>>>> On Friday, July 15, 2016 at 4:08:05 PM UTC+12, Chris F.A. Johnson wrote:
>>>>>
>>>>>>> ls $(find path -name \*.txt)
>>>>>>
>>>>>> AAARRRGGGHHHH!!!!!!
>>>>>>
>>>>>> That will break if any filenames contain whitespace or other
>>>>>> pathological characters.
>>>>>
>>>>> Don’t you know how to fix that? Exercise left for the reader. :)
>>>>
>>>> "That" is something that only someone who has failed Shell Scripting
>>>> 101 would write.
>>>>
>>>> Anyone else would do it correctly right off the bat.
>>>
>>> In that case, blame the OP for posting an example prone to the same
>>> problem.
>>
>> Nonsense; globbing has no such problem.
>
> Up to a point.