Ruby ???

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx

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'

-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux