Skip to content

Commit 3f11204

Browse files
committed
Try multiple way to get first line
1 parent b5f37f6 commit 3f11204

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.circleci/config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ jobs:
4444
#terraform version | sed -n '1p'
4545
terraform version | awk 'FNR <= 1'
4646
#FAIL terraform version | awk 'NR==1'
47-
terraform version | read X
48-
echo "Got: $X"
47+
#FAIL terraform version | read X
48+
#FAIL echo "Got: $X"
4949
# awk and cut work
5050
echo "test v111" | awk -Fv -e '{ print $2 }'
5151
echo "test v111" | cut -dv -f2

0 commit comments

Comments
 (0)