~ubuntu-branches/ubuntu/trusty/ruby1.9/trusty

« back to all changes in this revision

Viewing changes to bin/erb

  • Committer: Bazaar Package Importer
  • Author(s): Lucas Nussbaum
  • Date: 2006-05-08 22:23:12 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20060508222312-w2wqeaz030ifi59j
Tags: 1.9.0+20060423-3ubuntu1
* Resynchronized with Debian.
* Only change from Debian is the addition of
  debian/patches/903_sparc_fix_define.patch to fix illegal instructions
  at runtime on sparc. (change from 1.9.0+20050921-1ubuntu1)

Show diffs side-by-side

added added

removed removed

Lines of Context:
60
60
            $DEBUG = true
61
61
          when '-r'                        # require
62
62
            require ARGV.req_arg
63
 
          when '-S'                        # sacurity level
 
63
          when '-S'                        # security level
64
64
            arg = ARGV.req_arg
65
65
            raise "invalid safe_level #{arg.dump}" unless arg =~ /^[0-4]$/
66
66
            safe_level = arg.to_i
102
102
  -x               print ruby script
103
103
  -n               print ruby script with line number
104
104
  -v               enable verbose mode
105
 
  -d               set $DBEUG to true
 
105
  -d               set $DEBUG to true
106
106
  -r [library]     load a library
107
107
  -K [kcode]       specify KANJI code-set
108
108
  -S [safe_level]  set $SAFE (0..4)
109
109
  -T [trim_mode]   specify trim_mode (0..2, -)
110
 
  -P               disregard the lin which starts in "%" 
 
110
  -P               ignore lines which start with "%"
111
111
EOU
112
112
        exit 1
113
113
      end