gopher.sh: add support for g and I