view bin/nur @ 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 18a62a151fd3
children
line wrap: on
line source

#!/bin/bash
if grep -q \  <<<"$1"; then "${1%% *}" "${1#* }"; else "$1"; fi