annotate ibin/bf_txtgen @ 12271:6389adbc4a0d draft

<kspalaiologos> fetch /hackenv/asmbf-1.2.6.zip https://github.com/KrzysztofSzewczyk/asmbf/archive/master.zip
author HackEso <hackeso@esolangs.org>
date Tue, 31 Dec 2019 15:59:04 +0000
parents b044eecae124
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2289
35fbe747fc84 <oerjan> chmod a+x bf_txtgen; mv bf_txtgen ibin
HackBot
parents:
diff changeset
1 #!/bin/bash
12144
b044eecae124 <fizzie> dwim "fix all the interp stuff"
HackEso <hackeso@esolangs.org>
parents: 2289
diff changeset
2 . ${HACKENV-/hackenv}/lib/interp
b044eecae124 <fizzie> dwim "fix all the interp stuff"
HackEso <hackeso@esolangs.org>
parents: 2289
diff changeset
3 cd ${HACKENV-/hackenv}/interps/bf_txtgen
2289
35fbe747fc84 <oerjan> chmod a+x bf_txtgen; mv bf_txtgen ibin
HackBot
parents:
diff changeset
4
35fbe747fc84 <oerjan> chmod a+x bf_txtgen; mv bf_txtgen ibin
HackBot
parents:
diff changeset
5 get_arg
35fbe747fc84 <oerjan> chmod a+x bf_txtgen; mv bf_txtgen ibin
HackBot
parents:
diff changeset
6 java textgen -g 1000 -i "$ARG_FILE" | tail -n 2 | head -n 1
35fbe747fc84 <oerjan> chmod a+x bf_txtgen; mv bf_txtgen ibin
HackBot
parents:
diff changeset
7 clean_arg