annotate bin/cmd @ 7914:47733ab5da06

<moon__> mk cmdutil/todo//#!/bin/sh \\n [ "$1" ] || exit 1 \\n printf "%\\n" "$1" >>cmdutil/todo \\n printf "%d) %s" $9qc | cut -d\' \' -f1) "$1"
author HackBot
date Sat, 07 May 2016 01:01:28 +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