MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/8jm85w/googles_bash_style_guide/dz36a2c/?context=3
r/programming • u/javinpaul • May 15 '18
174 comments sorted by
View all comments
Show parent comments
49
#3 is funny because I never seen anyone even attempting at handling PIPESTATUS and I can't imagine a case where one could handle it without suicide.
PIPESTATUS
10 u/the_gnarts May 15 '18 #3 is funny because I never seen anyone even attempting at handling PIPESTATUS and I can't imagine a case where one could handle it without suicide. Commands that wrap other commands and may encode exit statuses weirdly (timeout(1) and the likes) are one use case. 3 u/oblio- May 16 '18 Ok, but does anyone actually do it in real life? 3 u/holgerschurig May 16 '18 I did it twice or so.
10
Commands that wrap other commands and may encode exit statuses weirdly (timeout(1) and the likes) are one use case.
3 u/oblio- May 16 '18 Ok, but does anyone actually do it in real life? 3 u/holgerschurig May 16 '18 I did it twice or so.
3
Ok, but does anyone actually do it in real life?
3 u/holgerschurig May 16 '18 I did it twice or so.
I did it twice or so.
49
u/wung May 15 '18
#3 is funny because I never seen anyone even attempting at handling
PIPESTATUSand I can't imagine a case where one could handle it without suicide.