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

Conference metoo::toolshed

Title:TOOLSHED
Notice:Catalog conference is on METOO::SW_TOOLS_CATALOG
Moderator:METOO::TOOLSHED
Created:Fri Feb 07 1986
Last Modified:Sun May 11 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:1227
Total number of notes:5197

1225.0. "New Version: FIND_REP V1.5" by GYPSC1::BRAEU () Tue Mar 04 1997 02:46

    Since the toolshed moderation seems to be absent (or non-existing?) - 
    here is the new version of FIND_REP:
    
    TOOL NAME:  FIND_REP
    
    FUNCTION:   Search files for regular expressions and optionally replace
                them.
    
    VERSION:    V1.5
    SYSTEM:     OpenVMS VAX, OpenVMS AXP
    LANGUAGE:   C
    LOCATION:   GYPSC""::FIND015.A 
                (save set, can be VMSINSTAL'ed)
    
    MORE INFO:  Name of documentation file(s):
                Included in the saveset:
                FIND.HLP,
                FIND.PS,
                FIND.LN03,
                FIND.INSTALLATION_GUIDE,
                FIND015.RELEASE_NOTES
     
    SOURCE:     Walter Br�u (GYPSC::BRAEU)
    
    GENERAL DESCRIPTION:
    
    The commands FIND and FIND/REPLACE search files for regular expressions
    and (FIND/REPLACE) replaces them with another string.  FIND accepts
    POSIX expressions or the syntax of LSE V3.x (search/pattern,
    substitute/pattern) and EVE V2.x (wildcard find).  In addition, FIND 
    implements all expressions available in GNU's GREP (an extension to
    UNIX GREP). The replacement string may contain wildcards to reinsert 
    parts of the target which has been found.
    Version 1.5 now supports the common /PAGE qualifier
    
    ADVANTAGES:   FIND is a combination of search and GREP which includes
                  the advantages of both tools:  it has the same qualifiers 
                  as SEARCH and the pattern matching capabilities of GREP
                  (and more).  The user can choose between either POSIX or
                  OpenVMS EVE and LSE syntax.  FIND is very fast (as fast  
                  as or faster than SEARCH and GNU's GREP).
    
    LIMITATIONS:  Matches may not cross record boundaries.
    
    				Walter
T.RTitleUserPersonal
Name
DateLines
1225.1Do NOT use default DECnet directory!VARDAF::CHURCHDave Church@VBE (DTN 828-6125)Thu Mar 20 1997 03:3843
    Walter,
    
    Please do NOT use the default DECnet directory as a place for
    distributing software - it is very insecure!
    
    As this type of directory has world write access anyone could replace
    the kit you have supplied with something that includes a "trojan
    horse"! 
    
    Looking in the directory I've seen many .ZIP, .EXE, .BCK files - if
    it's common practice for those on GYPSC to use this directory for
    distributing software then it must stop and a secure "public" directory
    should be set up. 
    
    Below shows you how simple it is to screw things up...
    
    
    $ dir GYPSC""::FIND015.A
    
    Directory GYPSC""::GYPSC0_PGSWP:[FAL$SERVER]
    
    FIND015.A;11           4599/4599     3 Mar 97 (Mon)  2:47pm (RE,RE,RE,RE)
    FIND015.A;9            4599/4599    24 Feb 97 (Mon)  3:21pm (RE,RE,RE,RE)
    
    Total of 2 files, 9198/9198 blocks.
    $ cre GYPSC""::FIND015.A.1
    <Exit>
    $ dir GYPSC""::FIND015.A
    
    Directory GYPSC""::GYPSC0_PGSWP:[FAL$SERVER]
    
    FIND015.A;11           4599/4599     3 Mar 97 (Mon)  2:47pm (RE,RE,RE,RE)
    FIND015.A;9            4599/4599    24 Feb 97 (Mon)  3:21pm (RE,RE,RE,RE)
    FIND015.A;1               0/0       20 Mar 97 (Thu)  9:29am (RE,RE,RE,RE)
    
    Total of 3 files, 9198/9198 blocks.
    
    Even though the file cannot be deleted I can still write files into the
    directory and this is enough...!
    
    Regards,
    
    Dave [Security consultant in CCS]
1225.2GYPSC1::BRAEUMon Apr 28 1997 10:414
    Well, I don't have any other place, therefore - no copy.
    If anybody should be interested, I can send it by mail.
    
    		Walter