annotate bin/cmd @ 7393:f5989ee837a9

<hppavilion[2]> le/rn hppavilion/hppavilion is the generator including, but not limited to, hppavilion[1], hppavilion[2], and hppavilion[42]. hppavilion is of length 37-42i-28j+4k-28ij+38ik+62jk+20ijk
author HackBot
date Sat, 16 Apr 2016 20:42:55 +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