piping output through sed but retain exit status
14209
Pipe output and capture exit status in Bash
31959
How to redirect and append both stdout and stderr to a file with Bash?
156623
How to detect end of line with sed
14304
Why does bash output data instead of executing, when a script is piped?
94061
How to append the first line at the end of each line of a file with Sed?
69294
Overwrite previous output in Bash instead of appending it
124578
How can I pipe stderr, and not stdout?
35981
How can I pipe the output of *all* entered shell commands into another? (e.g. pipe everything into 'lolcat')
54837
How do I use variables in a sed command?
85255
Detecting failure of a Bash "export" value
113995
How do I retrieve only the needed line from terminal output?
148411
How to check if sed has changed a file
126530
How to pipe output from one process to another but only execute if the first has output?
70939
SED (self encrpyting disk) is crashing on system resume
131327
Redirect output from all commands to file, not just last
70520
How to redirect the output of any command?
29486
How to use variables in a command in sed?