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.159 tracks/bash/_template/example.sh
trackler-2.2.1.158 tracks/bash/_template/example.sh
trackler-2.2.1.157 tracks/bash/_template/example.sh
trackler-2.2.1.156 tracks/bash/_template/example.sh
trackler-2.2.1.155 tracks/bash/_template/example.sh
trackler-2.2.1.154 tracks/bash/_template/example.sh
trackler-2.2.1.153 tracks/bash/_template/example.sh
trackler-2.2.1.152 tracks/bash/_template/example.sh
trackler-2.2.1.151 tracks/bash/_template/example.sh
trackler-2.2.1.150 tracks/bash/_template/example.sh
trackler-2.2.1.149 tracks/bash/_template/example.sh
trackler-2.2.1.148 tracks/bash/_template/example.sh
trackler-2.2.1.147 tracks/bash/_template/example.sh
trackler-2.2.1.146 tracks/bash/_template/example.sh
trackler-2.2.1.145 tracks/bash/_template/example.sh
trackler-2.2.1.144 tracks/bash/_template/example.sh
trackler-2.2.1.143 tracks/bash/_template/example.sh
trackler-2.2.1.142 tracks/bash/_template/example.sh
trackler-2.2.1.141 tracks/bash/_template/example.sh
trackler-2.2.1.140 tracks/bash/_template/example.sh