This worked for me, once I was in a shell that supported it:

TS00086:/DEVL/u/ts00086: b>tcsh
> mkdir -p test/smp{hold,ptfin}
> ls test
smphold   smpptfin
> exit
TS00086:/DEVL/u/ts00086: b>

The default shell, at least here, doesn¹t support the braces.
-- 
   .~.    Robert P. Nix             Mayo Foundation
   /V\    RO-OC-1-13              200 First Street SW
 / ( ) \  507-284-0844           Rochester, MN 55905
^^-^^   ----- 
        "In theory, theory and practice are the same, but
         in practice, theory and practice are different."


> From: John Summerfield <[EMAIL PROTECTED]>

> Walter Marguccio wrote:
>> ----- Original Message ----
>> From: "Jackson, Scott" <[EMAIL PROTECTED]>
>> 
>>> I've used most, if not all of the commands listed in the article on z/OS
>>> USS and z/series Linux.
>>> The following command;
>>> { mkdir -p $HOME/tmp3/sub1/sub1_a ; }
>>> will work under USS or z/Linux and most UNIX shells.
>> 
>> Scott,
>> 
>> under USS I wanted to create three subdirectory for my ShopzSeries PTF order
>> in one shot.
>> My goal was to create  directory U00123456,  plus SMPPTFIN and  SMPHOLD as
>> subdirectores (at the same level).
>> Using  mkdir -p  /U00123456/SMPPTFIN does work, and I was looking for a way
>> to  tell  mkdir to create
>> SMPHOLD as subdirectory on the same level as SMPPTFIN. I played around a bit
>> with '{', without success.
>> RTFM didn't help either.
> 
> 
> 
> 
> [EMAIL PROTECTED] ~]$ bsh
> $ echo /tmp/{a,b,c}
> /tmp/{a,b,c}
> $ eval /tmp/{a,b,c}
> eval: /tmp/{a,b,c}: not found
> $
> 
> This is on nahant.


----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to