Mercurial > repo
view .hg_archival.txt @ 2329:bfeb9841fc0a
<Jafet> (echo \'#!/bin/sh\'; echo \'a() { p=$(echo -n $(ps -p $1 -oppid | tail -1)); if ps -p $p -ocmd | tail -1 | egrep -q "^sh -c .* \\| cat\\$"; then ps -p $1 -ocmd | tail -1; else a $p; fi }\'; echo \'q=$(a $$); if echo "$q" | grep -q "^bash -c"; then echo "$q" | sed "s/^bash -c/\\`run/"; elif echo "$q" | grep -q "^/bin/sh /hackenv/bin/"; then echo "$q" | sed "s,^/bin/sh /hackenv/bin/,\\`,"; else echo \\`"$q"; fi\') > bin/quine2
author | HackBot |
---|---|
date | Fri, 01 Mar 2013 02:28:03 +0000 |
parents | e037173e0012 |
children |
line wrap: on
line source
repo: 91b847686710739546584c6316a0fb109ba2095c node: fc8e6b56392fc6ba11e3fab6ea8b4d96ad8bff2d branch: default latesttag: null latesttagdistance: 1602