[NTLUG:Discuss] What scripting change do I need to make?

Patrick R. Michaud pmichaud at pobox.com
Sat Oct 3 04:31:58 CDT 2015


How about...?

    mkdir -p `seq -f "test/%g" 1 3`

Pm

On Sat, Oct 03, 2015 at 12:36:25AM -0500, Leroy Tennison wrote:
> Using
> 
>     mkdir -p test/{1,2,3}
> 
> creates test/1, test/2 and test/3 as expected.  However
> 
>     mkdir -p test/{`seq -s, 1 3`}
> 
> creates test/{1,2,3}
> 
> What do I need to do to get the "seq" variant to produce the same result as
> the first command?
> 
> 
> _______________________________________________
> http://www.ntlug.org/mailman/listinfo/discuss



More information about the Discuss mailing list