repo.or.cz
/
ruby-svn.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
* io.c (rb_open_file): encoding in mode string was ignored if perm is
[ruby-svn.git]
/
sample
/
fib.awk
blob
7ebe8930f5f535198880ade4feeaefe021c97534
1
function
fib
(
n
) {
2
if
(
n
<
2
)
return
n
;
else return
fib
(
n
-
2
) +
fib
(
n
-
1
)
3
}
4
5
BEGIN
{
print
fib
(
20
); }