Sha256: e07204c3fbe3d93d505f9aa955b2b9dae66168fb93a51d1bdb397f805cca9a67
Contents?: true
Size: 711 Bytes
Versions: 66
Compression:
Stored size: 711 Bytes
Contents
#!/usr/bin/env bash # This is a bash script template in order to help you quick start any script. # It contains some sensible defaults, you can learn more by visiting: # https://google.github.io/styleguide/shell.xml # This option will make the script exit when there is an error set -o errexit # This option will make the script exit when it tries to use an unset variable set -o nounset main() { # A string variable containing only the FIRST argument passed to the script, # you can use input=$@ to get a string with ALL arguments input=$1 # Add your code here } # Calls the main function passing all the arguments to it via '$@' # The argument is in quotes to prevent whitespace issues main "$@"
Version data entries
66 entries across 66 versions & 1 rubygems