Mercurial > repo
view bin/interp @ 4789:6ad2db782cb2
<fizzie> echo -e \'#! /bin/bash\\nexec gforth -e "$* bye" </dev/null\' > bin/forth; chmod +x bin/forth
author | HackBot |
---|---|
date | Fri, 05 Sep 2014 20:04:33 +0000 |
parents | c091565553db |
children | f4fa91b302cf 262988233ff7 |
line wrap: on
line source
#!/bin/sh CMD=`echo "$1" | cut -d' ' -f1` ARG=`echo "$1" | cut -d' ' -f2-` exec ibin/$CMD "$ARG"