Mercurial > repo
view ibin/bf32 @ 2317:32451419357a
<Jafet> (echo \'#!/bin/sh\'; echo \'a() { p=$(echo -n $(ps -p $0 -oppid | tail -1)); if egrep " \\| cat\\$" /proc/$p/cmdline; then ps -p $0 -ocmd | tail -1; else a $p; fi }\'; echo \'a $$\') > bin/quine2
author | HackBot |
---|---|
date | Fri, 01 Mar 2013 02:00:55 +0000 |
parents | 33a6019d8e99 |
children | 77ae80f1894d |
line wrap: on
line source
#!/bin/sh . lib/interp # Get the bitwidth from the command BW=`echo "$CMD" | sed 's/bf//'` if [ "$BW" = "" ] ; then BW=8 ; fi interp_file ./interps/egobf/src/egobfi$BW