view bin/@ @ 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 5c5fc08f8113 1aa76501f9fe
line wrap: on
line source

#!/usr/bin/perl -w
$_ = join " ", @ARGV; if (s/^([^ ]*) +([^ ]*) +//) { print "$1: "; exec $2, $_; }