Mercurial > repo
view ibin/bf_txtgen @ 11116:3923d423f4cb
<oerjan> learn shebang_args_or_input is similar to print_args_or_input, but for other scripting languages like perl or python. E.g. if you have a python script that pipes stdin, replace the usual shebang line by #!/hackenv/bin/shebang_args_or_input python .
author | HackBot |
---|---|
date | Sat, 22 Jul 2017 00:51:22 +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