comparison bni-update @ 5:f6e6bf7f038b

Silence curl
author nanaya <me@myconan.net>
date Thu, 19 Nov 2015 02:21:43 +0900
parents 3be5d1679ce0
children a696cc8f1ee1
comparison
equal deleted inserted replaced
4:3be5d1679ce0 5:f6e6bf7f038b
3 set -e 3 set -e
4 set -u 4 set -u
5 5
6 _outdir="$(dirname "${0}")" 6 _outdir="$(dirname "${0}")"
7 7
8 curl http://bni.co.id/informasivalas.aspx \ 8 curl -s http://bni.co.id/informasivalas.aspx \
9 | grep JPY \ 9 | grep JPY \
10 | sed -e 's/[^0-9]*\([0-9][0-9.]*\)[^0-9].*/\1/' \ 10 | sed -e 's/[^0-9]*\([0-9][0-9.]*\)[^0-9].*/\1/' \
11 > "${_outdir}/bni-jpyidr.txt" 11 > "${_outdir}/bni-jpyidr.txt"