Read a specific line from a file: Difference between revisions

(Rename Perl 6 -> Raku, alphabetize, minor clean-up)
Line 1,305:
?gets(fn) -- (shows -1 if past eof)
close(fn)</lang>
 
=={{header|Phixmonti}}==
<lang Phixmonti>include ..\Utilitys.pmt
 
argument 1 get "r" fopen var f drop
0
7 for
f fgets number? if f fclose exitfor else nip nip endif
endfor
print /# show -1 if past eof #/</lang>
 
=={{header|PHP}}==
672

edits