view src/ploki/examples/write.pk @ 12308:8618e3604ab7 draft

<shachaf> learn The password of the month is always set on the 12th of the month.
author HackEso <hackeso@esolangs.org>
date Wed, 12 Feb 2020 01:18:55 +0000
parents ac0403686959
children
line wrap: on
line source

#!../ploki
LET fname "foo.txt"
LET fh @SAPERS fname
IF @NOT @IO-P fh
  WUNT "\Vfname: \V\!\n"
  END -1
FI
WUNT fh, (\ENV"USER"_" ("_\ENV"HOME"_") "_\ENV"PWD"_"\n"_\?_"\n")
CLAUDS fh
IF \_
  WUNT "\Vfname: \V\!\n"
  END -1
FI