121 reputation
15
bio website
location
age
visits member for 3 years, 11 months
seen Feb 14 '11 at 18:12

Jan
21
awarded  Notable Question
Oct
27
awarded  Popular Question
Jan
24
comment How to combine bash command grouping and pipe status
d) don't need the exit codes in separate variables so that is OK. regarding workarounds: temporary files add complexity. single output stream sounds interesting, but I am not sure how to implement that. complete-cover error handling in perl is a horrible mess just as in bash etc. python sounds good (but of course that does not answer the question as such, just gives me a different set of problems)
Jan
24
comment How to combine bash command grouping and pipe status
c) amazing, seems you almost nailed it! theoretically anyway; all the examples involving fd 4 does not work, bash gives you '4: Bad file descriptor'. I think fd 4 does not exist because the first thing to happen is that a process is created to handle the pipe in the inner-most command group, and at that point the redirection of fd 4 into fd 1 has not yet taken place, because the redirection is part of the setup of the outer pipeline. maybe it can be fixed with exec redirection before the nested command groups starts?
Jan
24
comment How to combine bash command grouping and pipe status
b) [comment deleted]
Jan
22
comment How to combine bash command grouping and pipe status
clarification: "normal circumstances" being when the command group does not participate in any 'outer' pipeline.
Jan
22
answered Ubuntu: On a network with many clients there are two machines that can't access the web via a browser at the same time
Jan
22
comment How to combine bash command grouping and pipe status
a) great info (at top of answer), thanks!
Jan
22
comment How to combine bash command grouping and pipe status
b) the true || false trick works nicely! but only for a single exit code, not the entire inner pipe
Jan
22
comment How to combine bash command grouping and pipe status
a) not so simple at all, you add a lot of complexity by using relative paths instead of absolute paths
Jan
22
revised How to combine bash command grouping and pipe status
edited body
Jan
19
awarded  Student
Jan
18
awarded  Editor
Jan
18
revised How to combine bash command grouping and pipe status
added 40 characters in body; added 32 characters in body
Jan
18
asked How to combine bash command grouping and pipe status
Jan
10
comment Is the Zalman ZM-RSSC 5.1 USB Sound Card supported in Linux?
@Neil: Which is why it says "look it up with the vendor", or "find a box" (read: go to a store) ;-)
Jan
8
answered Ubuntu: On a network with many clients there are two machines that can't access the web via a browser at the same time
Jan
7
awarded  Supporter
Jan
7
awarded  Teacher
Jan
7
answered VPN issues on web browsing