Mercurial > repo
view src/ploki/examples/write.pk @ 10513:28c4c6b6e9bd
<wob_jonas> `` sed -i \'s/M3/Saw Gerrera|Shmi|Sio Bibble|Sith Lord Jar Jar|Supreme Leader Snoke|Taun We|Watto|Wedge Antilles|Willard|Yoda|Zam Wessel|the Dianoga|the Rancor|the Sarlacc/\' bin/starwars && cat bin/starwars
author | HackBot |
---|---|
date | Sun, 26 Mar 2017 02:00:49 +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