Mercurial > repo
annotate wisdom/print_args_or_input @ 12436:a626721f5556 draft
<b_jonas> python3 -cn="/hackenv/bin/("; s=open(n).read(); s=s.replace(\' canary\',\' -- "$HACKENV/canary"\'); open(n,"w").write(s); print(s);
author | HackEso <hackeso@esolangs.org> |
---|---|
date | Sat, 11 Dec 2021 21:49:11 +0000 |
parents | 18b8d05a11fb |
children |
rev | line source |
---|---|
11120
18b8d05a11fb
<oerjan> slwd print_args_or_input//s,Use as ,&\',;s,Code ,Code\',
HackBot
parents:
11119
diff
changeset
|
1 print_args_or_input is a utility command that makes it easy to create a shell script that can be used either as a pipe or directly as a HackEgo command. Use as 'print_args_or_input "$@" | yourShellCode'. See also shebang_args_or_input. |