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

Version Path
trackler-2.2.1.119 tracks/bash/_template/example.sh
trackler-2.2.1.118 tracks/bash/_template/example.sh
trackler-2.2.1.117 tracks/bash/_template/example.sh
trackler-2.2.1.116 tracks/bash/_template/example.sh
trackler-2.2.1.115 tracks/bash/_template/example.sh
trackler-2.2.1.114 tracks/bash/_template/example.sh
trackler-2.2.1.113 tracks/bash/exercises/hello-world/hello_world.sh
trackler-2.2.1.113 tracks/bash/_template/example.sh
trackler-2.2.1.111 tracks/bash/exercises/hello-world/hello_world.sh
trackler-2.2.1.111 tracks/bash/_template/example.sh
trackler-2.2.1.110 tracks/bash/_template/example.sh
trackler-2.2.1.110 tracks/bash/exercises/hello-world/hello_world.sh
trackler-2.2.1.109 tracks/bash/exercises/hello-world/hello_world.sh
trackler-2.2.1.109 tracks/bash/_template/example.sh
trackler-2.2.1.108 tracks/bash/exercises/hello-world/hello_world.sh
trackler-2.2.1.108 tracks/bash/_template/example.sh
trackler-2.2.1.107 tracks/bash/exercises/hello-world/hello_world.sh
trackler-2.2.1.107 tracks/bash/_template/example.sh
trackler-2.2.1.106 tracks/bash/exercises/hello-world/hello_world.sh
trackler-2.2.1.106 tracks/bash/_template/example.sh