view ibin/bf_txtgen @ 12247:31417d39b4f5 draft

<b_jonas> addwhatis t(1hackeso) - run a command with the working directory set to /hackenv
author HackEso <hackeso@esolangs.org>
date Thu, 05 Dec 2019 23:48:53 +0000
parents b044eecae124
children
line wrap: on
line source

#!/bin/bash
. ${HACKENV-/hackenv}/lib/interp
cd ${HACKENV-/hackenv}/interps/bf_txtgen

get_arg
java textgen -g 1000 -i "$ARG_FILE" | tail -n 2 | head -n 1
clean_arg