Jump to content

Check that file exists: Difference between revisions

Added PicoLisp
m (omit from Befunge)
(Added PicoLisp)
Line 460:
perl -e 'print -e "/input.txt", "\n";'
perl -e 'print -d "/docs", "\n";'
 
=={{header|PicoLisp}}==
<lang PicoLisp>(if (info "file.txt")
(prinl "Size: " (car @) " bytes, last modified " (stamp (cadr @) (cddr @)))
(prinl "File doesn't exist") )</lang>
=={{header|Pike}}==
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.