Ruby ???
james tate
binarynut at comcast.net
Wed May 18 23:06:00 UTC 2011
I have downloaded a Ruby script file that has line numbers in it, and it
does not Run like that.
Are the line numbers supposed to be removed before running ?
the start of the script; This is just the first 25 lines of the script.
1 1 #!/usr/bin/ruby -w
2
3 # Try to find running processes using different methods, and
report
4 # processes found through some means but not through others.
5 #
6 # Exit code 2 means something fishy was detected.
7 #
8 # Exit code 1 means something went wrong.
9
10 # Copyright 2009 by Johan Walles, johan.walles at gmail.com
11 #
12 # This program is free software: you can redistribute it
and/or modify
13 # it under the terms of the GNU General Public License as
published by
14 # the Free Software Foundation, either version 3 of the
License, or
15 # (at your option) any later version.
16 #
17 # This program is distributed in the hope that it will be
useful,
18 # but WITHOUT ANY WARRANTY; without even the implied
warranty of
19 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 # GNU General Public License for more details.
21 #
22 # You should have received a copy of the GNU General Public
License
23 # along with this program. If not, see
<http://www.gnu.org/licenses/>.
24
25 require 'set'
More information about the users
mailing list