In case of error, the error message would be printing in subshells, thus printing as many error message as there were subshells.
Limit printing this message only in the top-level shell.
/trunk/scripts/functions | 2 2 0 0 ++
1 file changed, 2 insertions(+)
3 # This scripts extracts a crosstool-NG configuration from the log file
4 # of a toolchain build with crosstool-NG.
6 # Usage: cat <logfile> |$0
13 $0~/Dumping crosstool-NG configuration: done in.+s$/ {
20 $0~/Dumping crosstool-NG configuration$/ {