Mercurial > titip
view bni-update @ 6:a696cc8f1ee1
Enforce basic paths
author | nanaya <me@myconan.net> |
---|---|
date | Tue, 24 Nov 2015 20:29:50 +0900 |
parents | f6e6bf7f038b |
children | 4391020b8ebd |
line wrap: on
line source
#!/bin/sh set -e set -u PATH="${PATH}:/bin:/usr/bin:/usr/local/bin:/sbin:/usr/sbin:/usr/local/sbin" _outdir="$(dirname "${0}")" 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"