On Mon, Aug 31, 2020 at 12:08 PM John Chludzinski <
john.chludzin...@gmail.com> wrote:

> Well, how should I accomplish what I’ve been trying to do with ‘*’ ?
>

If the wildcard might expand to nothing the usual solution is to use the
`set` command:

set files
./a10_soc_devkit_ghrd/software/bootloader/u-boot-socfpga/arch/arm/dts/*10*


Then test if $files is not empty:

if set -q files[1]
    ls $files
end


-- 
Kurtis Rader
Caretaker of the exceptional canines Junior and Hank
_______________________________________________
Fish-users mailing list
Fish-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to