1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/sample
David Rodríguez f48655d04d Remove unneeded exec bits from some files
I noticed that some files in rubygems were executable, and I could think
of no reason why they should be.

In general, I think ruby files should never have the executable bit set
unless they include a shebang, so I run the following command over the
whole repo:

```bash
find . -name '*.rb' -type f -executable -exec bash -c 'grep -L "^#!" $1 || chmod -x $1' _ {} \;
```
2019-11-09 21:36:30 +09:00
..
drb Fix sample/drb/http0serv.rb 2019-08-25 10:56:47 -07:00
logger
openssl
optparse
pty
rdoc/markup
ripper
rss
testunit
trick2013
trick2015
trick2018 Fix a typo [ci skip] 2019-11-01 18:33:58 +09:00
webrick
benchmark.rb
biorhythm.rb
cal.rb
cbreak.rb
cgi-session-pstore.rb
clnt.rb
coverage.rb
delegate.rb
dir.rb Accurate a sample to show having some ext (#2385) 2019-08-19 17:30:59 +09:00
dualstack-fetch.rb
dualstack-httpd.rb
eval.rb
export.rb
exyacc.rb
fact.rb
fib.awk
fib.pl
fib.py
fib.rb
fib.scm
from.rb
fullpath.rb
iseq_loader.rb
less.rb
list.rb
list2.rb
list3.rb Update a sample code (#2387) 2019-08-19 18:00:29 +09:00
mine.rb
mkproto.rb
mpart.rb
net-imap.rb
observ.rb Remove unused variable to suppress warning (#2388) [ci skip] 2019-08-19 18:16:45 +09:00
occur.pl
occur.rb Drop duplicated sample code (#2389) [ci skip] 2019-08-19 18:43:23 +09:00
open3.rb
philos.rb
pi.rb
pstore.rb
rcs.awk
rcs.dat
rcs.rb
README Drop duplicated sample code (#2389) [ci skip] 2019-08-19 18:43:23 +09:00
rinda-ring.rb
sieve.rb
simple-bench.rb
svr.rb
tempfile.rb
test.rb Remove unneeded exec bits from some files 2019-11-09 21:36:30 +09:00
time.rb
timeout.rb
trojan.rb
tsvr.rb
uumerge.rb
weakref.rb

README		this file
biorhythm.rb	biorhythm calculator
cal.rb		cal(1) clone
cbreak.rb	no echo done by ioctl
clnt.rb		socket client
coverage.rb	simple test code coverage tool
dir.rb		directory access
dualstack-fetch.rb	IPv6 demo
dualstack-httpd.rb	IPv6 demo
eval.rb		simple evaluator
export.rb	method access example
exyacc.rb	extrace BNF from yacc file
fact.rb		factorial calculator
fib.awk		Fibonacci number (AWK)
fib.pl		Fibonacci number (Perl)
fib.py		Fibonacci number (Python)
fib.rb		Fibonacci number (Ruby)
fib.scm		Fibonacci number (Scheme)
from.rb		scan mail spool
fullpath.rb	convert ls -lR to fullpath format
less.rb		front end for less
list.rb		stupid object sample
list2.rb	stupid object sample
list3.rb	stupid object sample
mine.rb		simple mine sweeper
mkproto.rb	extract prototype from C
mpart.rb	split file int multi part
observ.rb	observer design pattern sample
occur.pl	count word occurrence (Perl)
occur.rb	count word occurrence (Ruby)
philos.rb	famous dining philosophers
pi.rb		calculate PI
rcs.awk		random character stereogram (AWK)
rcs.rb		random character stereogram (Ruby)
rcs.dat		data for random character stereogram
sieve.rb	sieve of Eratosthenes
svr.rb		socket server
test.rb		test suite used by `make test'
time.rb		/usr/bin/time clone
timeout.rb	timeout test
trojan.rb	simple tool to find file that may be trojan horse.
tsvr.rb		socket server using thread
uumerge.rb	merge files and uudecode them