annotate bin/cmd @ 8173:5af82a73aca4

<oerjan> ` sed -i \'s/He can[^.]*./Now when he tries to remember a word, "amortized" pops up instead./\' wisdom/oerjan
author HackBot
date Thu, 26 May 2016 00:53:37 +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