source:
vendor/bash/3.1-p17/tests/source5.sub
Last change on this file was 3228, checked in by , 18 years ago | |
---|---|
File size: 288 bytes |
Line | |
---|---|
1 | LC_ALL=en_US |
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 |
Note:
See TracBrowser
for help on using the repository browser.