Skip to content
This repository was archived by the owner on Oct 23, 2019. It is now read-only.
This repository was archived by the owner on Oct 23, 2019. It is now read-only.

Use bash options to make scripts more robust  #42

@chrisburr

Description

@chrisburr

The bash lesson should recommend using some options at the top of scripts to make them easier to debug. My personal preference is to start scripts with

#!/bin/bash
set -euo pipefail
IFS=$'\n\t'

for the reasons listed here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions