annotate bin/cmd @ 7014:cc9daef13038

<shachaf> le/rn weather/lambdabot: ?? ?? (?where weather) CYUL ENVA ESSB KOAK
author HackBot
date Thu, 25 Feb 2016 22:57:23 +0000
parents ccc447c7c094
children 83a25804a4c6
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
6882
3a1f3dc57df4 <shachaf> ` >bin/cmd echo -e \'#!/bin/bash\\ncut -d "" -f 3 < /proc/$1/cmdline\'; chmod +x /tmp/hmm
HackBot
parents:
diff changeset
1 #!/bin/bash
6884
ccc447c7c094 <shachaf> ` >bin/cmd echo -e \'#!/bin/bash\\npid="$PPID"\\n[ -n "$1" ] && pid="$1"; cut -d "" -f 3 < /proc/$pid/cmdline\'
HackBot
parents: 6882
diff changeset
2 pid="$PPID"
ccc447c7c094 <shachaf> ` >bin/cmd echo -e \'#!/bin/bash\\npid="$PPID"\\n[ -n "$1" ] && pid="$1"; cut -d "" -f 3 < /proc/$pid/cmdline\'
HackBot
parents: 6882
diff changeset
3 [ -n "$1" ] && pid="$1"; cut -d "" -f 3 < /proc/$pid/cmdline