Sha256: 9fe54d2d1238ba4698a9ece7e029631ec075226153991f6d72165b8910a291ca
Contents?: true
Size: 697 Bytes
Versions: 88
Compression:
Stored size: 697 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 are unset variables 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
88 entries across 77 versions & 1 rubygems