Utility functions for Translating Shell Scripts to Go