HP3000-L Archives

March 2014, Week 4

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Craig Lalley <[log in to unmask]>
Reply To:
Craig Lalley <[log in to unmask]>
Date:
Wed, 26 Mar 2014 09:36:47 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (59 lines)
Nice, thanks Barry.

-Craig




________________________________
 From: Barry Lake <[log in to unmask]>
To: [log in to unmask] 
Sent: Wednesday, March 26, 2014 9:32 AM
Subject: Re: How to remove ACD's from multiple files?
 

Setting the record straight...


On 3/25/14 10:05 AM, Barry Lake wrote (after Lars):
>> ...I would have attempted something like this (before Keven's cool
>> idea) to take a list of filenames and prepend ALTSEC and append
>>DELACD for execution:
>
> FYI, "DELACD" is an MPEX-ism, I believe. With MPE's ALTSEC command you
> have to use "DELPAIR=..."


Lars is right (of course), there *is* a DELACD parameter to MPE's 
ALTSEC. When I looked at the online help I didn't see it due to a 
formatting "bug" in the help text.

So my suggested shell loop...


>  $ ls L*
>  LOGHIST LOGHIST0 LOGHIST1 LOGHIST2 LOGON
>  $
>  $ for x in L* ; do
>  >  echo deleting ACD from $x
>  >  callci "altsec $x;delpair=(\$owner,\$group,\$group_mask,@.@)"
>  > done


...can be simplified to:


   $ for x in L* ; do
   >  echo deleting ACD from $x
   >  callci "altsec $x;delacd"
   > done


B.

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2