Replace bc with awk

Authored by Peter Eszlari <peter.eszlari@gmail.com> on Jan 10 2018, 5:02 PM.