unfamiliar construct...

2013-03-23 Thread Linda A. Walsh
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

How does one disable completion when nothing but tabs or spaces is on the line?

2012-12-31 Thread Linda A. Walsh
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

Re: a recursion bug

2012-10-03 Thread Linda A. Walsh
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