3 ms·
Yeah, I'll add some of the most common parameter expansion/substitution, string functions, array functions, etc. as APIs. I had a thought yesterday for handlin
by schizoidboy 10y ago
Yeah, I'll add some of the most common parameter expansion/substitution, string functions, array functions, etc. as APIs.
I had a thought yesterday for handling pipeline failures by using set -e in a sub-shell. I still need to test this, but something like:
(set -e; command1 | grep foo | grep bar | sed ...) || cube_check_return