On 16.11.2017 18:03, Greg Wooledge wrote:
> On Thu, Nov 16, 2017 at 03:51:10PM +0500, Alexander V. Makartsev wrote:
>>     $ for f in [sans sans-serif serif monospace];do fc-match $f;done
> Just for the record, you do not want those square brackets.  Not in
> bash or any other Bourne-family shell, at least.
>
Indeed, my mistake. Looks like sleep deprivation finally caught up with me.
This is even worse, with those square brackets this command doesn't work
as intended.
"[sans sans-serif serif monospace]" will be interpreted by shell as
"[sans", "sans-serif", "serif", "monospace]" producing bogus output
without any error messages.

-- 
With kindest regards, Alexander.

⢀⣴⠾⠻⢶⣦⠀ 
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀⠀⠀⠀ 

Reply via email to