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
If I have nothing but tabs or spaces on a line, how do I disable
completion but have it return the char typed? (space or tab) -- and if
bash is looking for a command, then execute any command.
I.e.
ls "works"
ls "sorta works (tab's are dropped/ignored) -- would
want them echo'd.
2) In a
Steven W. Orr wrote:
I think there's a fundamental misunderstanding between the difference of
an error code returned by a system call and the exit status of a
process. They're two completely different things.
It's not a fundamental misunderstanding. It's a fundamental belief
in us