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

Leroy Tennison leroy.tennison at verizon.net
Sat Oct 3 22:45:36 CDT 2015


Thanks, that works (had to refresh my printf understanding).

On 10/03/2015 04:31 AM, Patrick R. Michaud wrote:
> 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
> _______________________________________________
> http://www.ntlug.org/mailman/listinfo/discuss
>




More information about the Discuss mailing list