[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference hydra::amiga_v1

Title:AMIGA NOTES
Notice:Join us in the *NEW* conference - HYDRA::AMIGA_V2
Moderator:HYDRA::MOORE
Created:Sat Apr 26 1986
Last Modified:Wed Feb 05 1992
Last Successful Update:Fri Jun 06 1997
Number of topics:5378
Total number of notes:38326

4576.0. "Protect & wild carding" by HPSCAD::GATULIS (Frank Gatulis 297-6770) Sat Mar 09 1991 13:56

    
    I can't seem to use wild cards (ie #?) with the Commodore "protect".
    Is this a limitation or a dumb user error?  I don't see it documented.
    
    For example I'd like to do    PROTECT #? -a
    
    Is there a replacement program that would allow this?
    
    Thanks
    Frank
    
T.RTitleUserPersonal
Name
DateLines
4576.1CLO::COBURNGrowing older, but not up...Sat Mar 09 1991 14:155
    This is a limitation of the protect utility. The is a script SPAT that
    will allow you to do what you want. SPAT and DPAT were included in the
    V1.3 stuff. It is described in the enhancer manual.
    
    John
4576.2STAR::GUINEAUbut what was the question?Sun Mar 10 1991 20:554
The ARP commands will allow wildcards for protect and you can even use the 
asterisk as #?.

jon
4576.3BAGELS::BRANNONDave BrannonMon Mar 11 1991 12:186
    
    I use a WITH command to feed a wildcarded pattern to those utilities
    such as PROTECT that don't take wildcards.  Similar critters can be
    found called FOREACH, etc.  They can be found on the Fish disks.
    
    Dave
4576.4FRSOLD::ZIMMERMANNThu Mar 21 1991 11:3812
    define:
    
    alias pro execute s:spat protect []
    
    
    then type:
    
    pro #? -d
    
    
    ralf
    ====