dash equivalent to bash's curly bracket syntax?

dash-shell

Solution

You can use `printf`.

% printf 'str1%s\t' 'str2' 'str3' 'str4'
str1str2    str1str3    str1str4

Problem

In bash, `php/{composer,sismo}` expands to `php/composer php/sismo`. Is there any way to do this with `/bin/sh` (which I believe is dash), the system shell ? I'm writing git hooks and would like to stay away from bash as long as I can.

Original source