help-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Adding option to select file types


From: Leonid Isaev (ifax)
Subject: Re: Adding option to select file types
Date: Mon, 5 Jul 2021 15:30:45 +0000

On Mon, Jul 05, 2021 at 08:50:09AM -0400, Greg Wooledge wrote:
>   local dir=$3
>   ...
>   local findargs=( "$dir" '(' )

One probably should check if "$dir" starts with a "-" (and prepend ./ if so)?

Sincerely,
L.

-- 
Leonid Isaev



reply via email to

[Prev in Thread] Current Thread [Next in Thread]