re: Shell Scripts Matter VIEW POST


Great article! I am getting an error for shUnit2.
Inside program I set IFS=$'\n\t' and when I source that file inside test file I get the following error:
`/usr/local/bin/shunit2: line 105: eval __shunit_lineno=""; if [ "${1:-}" = "--lineno" ]; then [ -n "$2" ] && _
shunit_lineno="[$2] "; shift 2; fi: command not found`
When I override IFS back to default inside _test file everything works as expected.

code of conduct - report abuse