#!/usr/bin/env bash IFS=' ' script_dirS=$(cd -P "$(dirname "$BASH_SOURCE")" &>/dev/null && pwd) challenge() { input="${@: -1}" args=${@:1:$#-1} bash -c ""$script_dirS"/student/grades.sh $args" 2> grades_submitted_errors 1>grades_submitted_output < grades_expected_errors 1>grades_expected_output <