Re: regex help

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

 



Hi,

Just a small nitpick inline

Le 09/02/2022 à 20:43, Linux for blind general discussion a écrit :
> Tim here, replying inline again

> You've got it!  It expands the filenames at the shell level, before
> handing it off to the program, so it works with multiple items as
> well, such as
> 
>   $ mkdir -p Mail/work/{cur,new,tmp}
> 
> which expands to the same as
> 
>   $ mkdir -p Mail/work/cur Mail/work/new Mail/work/tmp

Be aware that brace expansion is undefined in POSIX sh, so it works using bash
but could fail using other shells.	

Cheers,
Didier
--
Didier Spaier
Slint maintainer


_______________________________________________
Blinux-list mailing list
Blinux-list@xxxxxxxxxx
https://listman.redhat.com/mailman/listinfo/blinux-list




[Index of Archives]     [Linux Speakup]     [Fedora]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]