On Sat, Mar 23, 2013 at 3:15 AM, Linda A. Walsh wrote:
> In reading some suse startup code (*shiver*),
>
> I came across this construct
>
>
>
> func() {
> local comm ## command from /proc/$pid/stat
>
> for comm; do
> test -s comm || continue
> ppid = pidofproc $comm
> parents="${
In reading some suse startup code (*shiver*),
I came across this construct
func() {
local comm ## command from /proc/$pid/stat
for comm; do
test -s comm || continue
ppid = pidofproc $comm
parents="${parents:+parents:}${ppid}"
done
}
---
Is that valid code? do