Exercism/bash/error-handling
David Doblas Jiménez 8a54eb45e8 Initial commit 2023-04-18 21:30:43 +02:00
..
.exercism Initial commit 2023-04-18 21:30:43 +02:00
HELP.md Initial commit 2023-04-18 21:30:43 +02:00
README.md Initial commit 2023-04-18 21:30:43 +02:00
bats-extra.bash Initial commit 2023-04-18 21:30:43 +02:00
error_handling.bats Initial commit 2023-04-18 21:30:43 +02:00
error_handling.sh Initial commit 2023-04-18 21:30:43 +02:00

README.md

Error Handling

Welcome to Error Handling on Exercism's Bash Track. If you need help running the tests or submitting your code, check out HELP.md.

Instructions

Implement various kinds of error handling and resource management.

An important point of programming is how to handle errors and close resources even if errors occur.

This exercise requires you to handle various errors. Because error handling is rather programming language specific you'll have to refer to the tests for your track to see what's exactly required.

Bash-specific instructions

The goal of this exercise is to consider the number of arguments passed to your program. If there is exactly one argument, print a greeting message. Otherwise print an error message and exit with a non-zero status.

Source

Created by

  • @jaggededgedjustice

Contributed to by

  • @bkhl
  • @budmc29
  • @glennj
  • @guygastineau
  • @IsaacG
  • @kotp
  • @kytrinyx
  • @sbonds
  • @sjwarner-bp
  • @Smarticles101
  • @ZapAnton