Mercurial > repo
view bin/cmd @ 8286:ca89397502cf
<shachaf> delquote 1281
author | HackBot |
---|---|
date | Thu, 02 Jun 2016 04:04:49 +0000 |
parents | ccc447c7c094 |
children | 83a25804a4c6 |
line wrap: on
line source
#!/bin/bash pid="$PPID" [ -n "$1" ] && pid="$1"; cut -d "" -f 3 < /proc/$pid/cmdline