view ibin/bf_txtgen @ 8835:c716a47ff0e4

<wob_jonas> `` e=bin/hello;>$e echo $\'#!/usr/bin/perl\\n\'\'$c=unpack"C",pack"h",$ARGV[0];print+($c&1?"H":"h"),"ello",($c&2?"":","),($c&4?" W":" w"),"orld",($c&8?".":""),"\\n";\'
author HackBot
date Sun, 24 Jul 2016 11:08:27 +0000
parents 35fbe747fc84
children b044eecae124
line wrap: on
line source

#!/bin/bash
. lib/interp
cd interps/bf_txtgen

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