view ibin/bf_txtgen @ 6884:ccc447c7c094

<shachaf> ` >bin/cmd echo -e \'#!/bin/bash\\npid="$PPID"\\n[ -n "$1" ] && pid="$1"; cut -d "" -f 3 < /proc/$pid/cmdline\'
author HackBot
date Tue, 16 Feb 2016 02:06:54 +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