[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Target appends to file?
From: |
Brian Vandenberg |
Subject: |
Re: Target appends to file? |
Date: |
Thu, 14 Apr 2016 10:57:55 -0600 |
Followup/corrections to that last email:
The "printf" lines should've had the $$ doubled up:
> @echo $$(printf $@)
Also, I wanted to point out a difference between *-e* and *-o pipefail*:
$ bash -e -o pipefail -x -c 'false | (sleep 2; true) | false; echo Inner:
$?'; echo Outer: $?
+ false
+ sleep 2
+ false
+ true
Outer: 1
-brian