view bin/welcome @ 12231:44379732c06b draft

<b_jonas> fetch /hackenv/bin/whatis https://hack.esolangs.org/get/bin/whatis
author HackEso <hackeso@esolangs.org>
date Thu, 05 Dec 2019 20:05:28 +0000
parents ceb43c4d37de
children
line wrap: on
line source

#!/usr/bin/perl -w
my $bin = $ENV{"HACKENV"}."/bin"; if (defined($_=shift)) { s/ *$//;  s/ +/ @ /g; exec "$bin/@", $_ . " ? welcome"; } else { exec "$bin/?", "welcome"; }