Jari Aalto | 3185942 | 2009-01-12 13:36:28 +0000 | [diff] [blame] | 1 | LC_ALL=en_US.UTF-8 |
Jari Aalto | cce855b | 1998-04-17 19:52:44 +0000 | [diff] [blame] | 2 | unset LC_ALL |
3 | unset LANG | ||||
4 | export LC_ALL=C | ||||
5 | export LANG=C | ||||
6 | |||||
7 | set +o posix | ||||
8 | |||||
9 | # attempting to source a non-existant file is not an error... | ||||
10 | . /tmp/source-notthere | ||||
11 | |||||
12 | echo after bad source 1 | ||||
13 | |||||
14 | set -o posix | ||||
15 | |||||
16 | # ...unless you're in posix mode | ||||
17 | . /tmp/source-notthere | ||||
18 | |||||
19 | echo after bad source 2 |