#!/usr/bin/env bash read i echo "ibase=10; obase=7; $i" | bc