Mercurial > repo
view bin/welcome @ 2272:7a61285e9493
<oerjan> (echo \'#!/bin/sh\'; echo "ps -o cmd") >bin/psocmd; chmod +x bin/psocmd
author | HackBot |
---|---|
date | Tue, 26 Feb 2013 23:24:34 +0000 |
parents | e037173e0012 |
children | ef5ba4348bf2 |
line wrap: on
line source
#!/usr/bin/perl -w if (defined($_=shift)) { s/ *$//; s/ +/ @ /g; exec "bin/@", $_ . " ? welcome"; } else { exec "bin/?", "welcome"; }