[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Help-bash] How to catch errors in "readarray ... < <(...)"
From: |
Peng Yu |
Subject: |
[Help-bash] How to catch errors in "readarray ... < <(...)" |
Date: |
Thu, 26 Mar 2015 10:55:47 -0500 |
Hi,
The error in <() is not cached in the following code. Is there a
solution to this problem? Thanks.
readarray -t array < <(printf '%s\n' 'a b' 'c d'; exit 1)
printf "%s\n" "address@hidden"
--
Regards,
Peng
- [Help-bash] How to catch errors in "readarray ... < <(...)",
Peng Yu <=