annotate ibin/adjust @ 12508:335a2a849232 draft default tip

<wib_jonas> `` f=/hackenv/bin/dateu; >$f echo $\'#!/bin/bash\\nset -e\\nif (( 1 < $# )); then echo "dateu error: too many command-line arguments. Usage: dateu datetimestring"; exit 2; fi\\nexec date -u ${1:+-d "$1"} "+%Y-%m-%d %H:%M:%S.%3N %z %Z %B %-e %A %G-W%V-%u"\'; chmod a+x "$f"
author HackEso <hackeso@esolangs.org>
date Wed, 03 Jul 2024 18:15:24 +0100
parents b044eecae124
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1075
33a6019d8e99 <Gregor> mkdir ibin; for i in bin/*; do if [ "`grep \'\\. lib/interp\' $i`" ]; then mv $i ibin/; fi; done; printf \'#!/bin/sh\\nCMD=`cut -d\' \' -f1 "$1"`\\nARG=`cut -d\' \' -f2- "$2"`\\nexec ibin/$CMD "$ARG"\' > bin/interp; chmod 0755 bin/interp
HackBot
parents:
diff changeset
1 #!/bin/sh
12144
b044eecae124 <fizzie> dwim "fix all the interp stuff"
HackEso <hackeso@esolangs.org>
parents: 1075
diff changeset
2 . ${HACKENV-/hackenv}/lib/interp
b044eecae124 <fizzie> dwim "fix all the interp stuff"
HackEso <hackeso@esolangs.org>
parents: 1075
diff changeset
3 interp_file ${HACKENV-/hackenv}/interps/adjust/adjust.bin