home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / VSCPPv8.zip / VACPP / IBMCPP / samples / COMPILER / GREP / README < prev   
Text File  |  1995-06-08  |  5KB  |  131 lines

  1.                                                                          
  2.  SAMPLE NAME: GREP                                                       
  3.                                               
  4.                                                                           
  5.  COPYRIGHT:                                                               
  6.  ----------                                                               
  7.  Copyright (C) International Business Machines Corp., 1991,1995.    
  8.                                                                           
  9.  DISCLAIMER OF WARRANTIES:                                                
  10.  -------------------------                                                
  11.  The following [enclosed] code is sample code created by IBM              
  12.  Corporation.  This sample code is not part of any standard IBM product   
  13.  and is provided to you solely for the purpose of assisting you in the    
  14.  development of your applications.  The code is provided "AS IS",         
  15.  without warranty of any kind.  IBM shall not be liable for any damages   
  16.  arising out of your use of the sample code, even if they have been       
  17.  advised of the possibility of such damages.                              
  18.                                                                           
  19.  REVISION LEVEL: 1.0                                                     
  20.   --------------- 
  21.                                                          
  22.  
  23.    DESCRIPTION:
  24.         This program is a simple grep with limited regular expression
  25.         support.  Type  Grep  by itself for more help.
  26.  
  27.    TASK:
  28.         Changes the date and time of selected files to the date and time
  29.         at which the command is run.
  30.  
  31.    CONCEPT/FEATURE:
  32.         This program demonstrates how various C constructs are used; it
  33.         demonstrates how to do subdirectory searching through the help of
  34.         various API calls.
  35.  
  36.    PROJECT LOCATION:
  37.         Inside the COMPILER Sample folder (inside the VisualAge C++ 
  38.         SAMPLES folder).
  39.  
  40.    SOURCE FILE LOCATION:
  41.         X:\ibmcpp\samples\compiler\grep
  42.  
  43.         where X: is the drive you installed the samples and document
  44.         component of VisualAge C++.
  45.  
  46.  
  47. HOW TO RUN THE SAMPLE:
  48.  
  49.    FROM WITHIN THE WORKFRAME ENVIRONMENT:
  50.         Open the Samples folder on your OS/2 desktop then double-click on
  51.         the project's icon to open the project view of the sample.  Click
  52.         on the RUN button of the project's toolbar.
  53.  
  54.    FROM THE COMMAND LINE:
  55.         Simply type the name of the .EXE file, that is:
  56.  
  57.             GREP
  58.  
  59.  
  60. HOW TO BUILD THE SAMPLE PROJECT YOURSELF:
  61.  
  62.    FROM WITHIN THE WORKFRAME ENVIRONMENT:
  63.         Open the Samples folder on your OS/2 desktop then double-click on
  64.         the project's icon to open the project view of the sample. In the
  65.         upper half of the project window you will see the icons of the
  66.         files associated with the sample.  From the Project pulldown, 
  67.         select BUILD -> REBUILD ALL. To run the sample project, 
  68.         see HOW TO RUN THE SAMPLE above.
  69.  
  70.    FROM THE COMMAND LINE:
  71.         A command file is provided to allow rebuilding of the WorkFrame
  72.         projects from the command line.  Simply type:
  73.  
  74.             BUILD
  75.  
  76.         To run the sample project, see HOW TO RUN THE SAMPLE
  77.         project above.
  78.  
  79.    SOFTWARE/HARDWARE PREREQUISTES:
  80.  
  81.         o   IBM VisualAge C++
  82.         o   OS/2 2.1 or Warp
  83.         o   IBM or compatible 386 and up.
  84.  
  85.    ADDITIONAL INFORMATION:
  86.         For more information on the creation and use of projects in the
  87.         WorkFrame environment, see the VisualAge C++ for OS/2 User's
  88.         Guide.
  89.  
  90.         To access an online book, simply open the main VisualAge C++
  91.         desktop folder, then open the Information Folder inside.  To view
  92.         a book, double-click on that book's icon.
  93.  
  94.  
  95. SOURCE FILES - GREP
  96.  
  97.    Required files/libraries:
  98.  
  99.    GREP.C
  100.         Source code
  101.  
  102.    GREP.H
  103.         Common definitions
  104.  
  105.    GREP.MAK
  106.         Make file for this program
  107.  
  108.    HELP.C
  109.         Help procedures
  110.  
  111.    OS2.H
  112.         APIs include file
  113.  
  114.    STDLIB.H
  115.         Standard library function declarations
  116.  
  117.    STRING.H
  118.         String handling function declarations
  119.  
  120.    STDIO.H
  121.         Handling IO
  122.  
  123.    CTYPE.H
  124.         For mapping different casing
  125.  
  126.    OS2386.LIB
  127.         Presentation Manager/OS2 library
  128.  
  129.    DDE4SBS.LIB
  130.         C Set++ Standard Library
  131.