view 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
line wrap: on
line source

#!/bin/sh

set -e
set -u

_outdir="$(dirname "${0}")"

curl http://bni.co.id/informasivalas.aspx \
  | grep JPY \
  | sed -e 's/[^0-9]*\([0-9][0-9.]*\)[^0-9].*/\1/' \
  > "${_outdir}/bni-jpyidr.txt"