comparison bni-update @ 4:3be5d1679ce0

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