_==0 "exec" "gawk" "-f" "$0" function f(n, s) { return n>0 ? f(int(n/7),n%7 s) : s } { print $0==0 ? 0 : f($0,"") }