Reputation
Next tag badge:
98/100 score
37/20 answers
Badges
19 150 297
Newest
 Nice Answer
Impact
~4.8m people reached

Feb
26
comment Chaining pipe | with &&
Yes, you're right, the problematic and solutions will be the same, but it's a slightly different question. I've retracted my close vote.
Feb
26
comment Chaining pipe | with &&
See also How do I get the exit code of cmd1 in cmd1|cmd2
Feb
26
comment Chaining pipe | with &&
@techtonik, as I said, PIPESTATUS is for bash. For sh, use the first one.
Feb
26
revised Chaining pipe | with &&
deleted 2 characters in body
Feb
26
comment Chaining pipe | with &&
possible duplicate of Get exit status of process that's piped to another
Feb
26
comment How can I pipe output to another process, but retain the error state of the first process?
Depends what you mean by traditional. (t)csh do report the status of the rightmost failing command in the pipeline, like (k|ba|z)sh -o pipefail (in tcsh, you can disable that with unset anyerror).
Feb
26
answered Chaining pipe | with &&
Feb
26
revised Print lines between two patterns matching a condition in awk
rolled back to a previous revision
Feb
26
revised Print lines between two patterns matching a condition in awk
add SWAP..END requirement.
Feb
26
revised Is there any app that records notes with synchronized Audio?
added note from comment.
Feb
26
comment Is there any app that records notes with synchronized Audio?
See also pyvnc2swf that creates a flash video of the screen or a region of the screen or a window. You can mix recorded audio to the video.
Feb
25
comment shell command to know computer manufacturing date
@slm, how do you get those CPU, RAM, motherboard manufactoring dates?
Feb
25
comment Parent script continues when child exits with non-zero exit code
Does child_1.sh have a trap on EXIT? Did you try adding a echo "$?" after bash ./child_1.sh?
Feb
25
awarded  Nice Answer
Feb
25
comment Parent script continues when child exits with non-zero exit code
Do you see the problem with that simple script, or only when there's more in that #... ellipsis after set -e?
Feb
25
comment Is there any app that records notes with synchronized Audio?
Note that OS/X falls under Unix+Linux. What OS are you interested in?
Feb
25
answered Is there any app that records notes with synchronized Audio?
Feb
25
comment Search for matching files with wildcards without using find in a bash script
Does my_find need to handle !, -o/-a, grouping with (, )...?
Feb
25
comment Search for matching files with wildcards without using find in a bash script
getopts can be used to parse single letter options, not find predicates.
Feb
24
comment What regular expression in grep searches for strings of three same letters in a row?
Standard ERE don't support back-references, grep '\([a-z]\)\1\{2\}' (BRE) would be POSIX/portable.