changeset 5:f6e6bf7f038b

Silence curl
author nanaya <me@myconan.net>
date Thu, 19 Nov 2015 02:21:43 +0900
parents 3be5d1679ce0
children a696cc8f1ee1
files bni-update
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/bni-update	Thu Nov 19 02:19:03 2015 +0900
+++ b/bni-update	Thu Nov 19 02:21:43 2015 +0900
@@ -5,7 +5,7 @@
 
 _outdir="$(dirname "${0}")"
 
-curl http://bni.co.id/informasivalas.aspx \
+curl -s http://bni.co.id/informasivalas.aspx \
   | grep JPY \
   | sed -e 's/[^0-9]*\([0-9][0-9.]*\)[^0-9].*/\1/' \
   > "${_outdir}/bni-jpyidr.txt"