home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 4 / Apprentice-Release4.iso / Source Code / C / Applications / MacPerl 5.0.3 / MacPerl Source ƒ / Perl5 / Perl.r < prev    next >
Encoding:
Text File  |  1995-11-26  |  7.2 KB  |  116 lines  |  [TEXT/MPS ]

  1. DiagnosticOutput,
  2.                 {145,  20}
  3.             },
  4.             notDependent {}, TextBox {
  5.                 gray,
  6.                 { 70,  10, 185, 240},
  7.                 "Redirection"
  8.             },
  9.             notDependent {}, CheckOption     {
  10.                 NotSet, { 75, 270,  91, 465}, "Print Version", "-v", 
  11.                 "Print version information to standard output.",
  12.             },
  13.             notDependent {}, CheckOption     {
  14.                 NotSet, { 92, 270, 108, 465}, "Syntax Check Only", "-c", 
  15.                 "Exit after syntax checking.",
  16.             },
  17.             notDependent {}, CheckOption     {
  18.                 NotSet, {109, 270, 125, 465}, "Print warnings", "-w", 
  19.                 "Print warnings about lots of likely errors.",
  20.             },
  21.             notDependent {}, CheckOption     {
  22.                 NotSet, {126, 270, 142, 465}, "Debug", "-d", 
  23.                 "Run Perl debugger at start.",
  24.             },
  25.             notDependent {}, CheckOption     {
  26.                 NotSet, {143, 270, 159, 465}, "Inplace processing", "-i.bak", 
  27.                 "Make backup and replace file.",
  28.             },
  29.             notDependent {}, NestedDialog    {
  30.                 2,
  31.                 {165, 270, 185, 440},
  32.                 "More Options…",
  33.                 "Lots of switches to configure the behaviour of Perl."
  34.             },
  35.             notDependent {}, VersionDialog {
  36.                 VersionString {
  37.                     "5.0.3r1m"
  38.                 },
  39.                 "Perl by Larry Wall <lwall@netlabs.com>\n"
  40.                 "MPW port by Matthias Neeracher <neeri@iis.ee.ethz.ch>\n"
  41.                 "and Tim Endres <time@ice.com>\n",
  42.                 0
  43.             },
  44.         },
  45.         270,
  46.         "",
  47.         {
  48.             notDependent {}, RadioButtons {
  49.                 {
  50.                     { 36,  20,  51, 220}, "Newline", "", set, 
  51.                     "Records are terminated with newlines.",
  52.                     { 53,  20,  68, 220}, "Null Character", "-0", notset, 
  53.                     "Records are terminated with null characters",
  54.                     { 70,  20,  85, 220}, "Paragraph", "-00", notset, 
  55.                     "Records are terminated with two consecutive newlines"
  56.                 }
  57.             },
  58.             Or {{-3}}, CheckOption {
  59.                 NotSet, { 36, 240,  52, 465}, "Automatic Loop", "-n", 
  60.                 "Iterate script once for each input line."
  61.             },
  62.             Or {{-2}}, CheckOption {
  63.                 NotSet, { 53, 240,  69, 465}, "Automatic Printing Loop", "-p", 
  64.                 "Iterate script once for each input line, printing the line by default."
  65.             },
  66.             notDependent {}, CheckOption {
  67.                 NotSet, { 70, 240,  86, 465}, "Autosplit mode", "-a", 
  68.                 "Split input line before processing."
  69.             },
  70.             notDependent {}, CheckOption {
  71.                 NotSet, { 87, 240, 103, 465}, "Automatic Line End Processing", "-l", 
  72.                 "Chop input line and append newline on printing."
  73.             },
  74.             notDependent {}, CheckOption {
  75.                 NotSet, {115,  20, 131, 220}, "Run through C Preprocessor", "-P", 
  76.                 "Run the script through the C preprocessor first."
  77.             },
  78.             notDependent {}, CheckOption {
  79.                 NotSet, {132,  20, 148, 220}, "Switch parsing", "-s", 
  80.                 "Enables some rudimentary switch parsing."
  81.             },
  82.             notDependent {}, CheckOption {
  83.                 NotSet, {115, 240, 131, 465}, "Skip leading garbage.", "-x", 
  84.                 "Skip lines to the first #!perl line. Great for shell scripts."
  85.             },
  86.             notDependent {}, TextBox {
  87.                 gray,
  88.                 { 25,  10, 108, 225},
  89.                 "Record Separator"
  90.             },
  91.             notDependent {}, TextBox {
  92.                 gray,
  93.                 { 25, 235, 108, 470},
  94.                 "Useful for One Liners"
  95.             },
  96.         }
  97.     },
  98. };
  99.  
  100. #ifdef APPNAME    // only include 'cfrg' in native PowerPC apps
  101.  
  102. #include "CodeFragmentTypes.r"
  103.  
  104. resource 'cfrg' (0) {
  105.     {
  106.         kPowerPC,
  107.         kFullLib,
  108.         kNoVersionNum,kNoVersionNum,
  109.         0,0,
  110.         kIsApp,kOnDiskFlat,kZeroOffset,kWholeFork,
  111.         APPNAME    // must be defined on Rez command line with -d option
  112.     }
  113. };
  114.  
  115. #endif
  116.