Denys Vlasenko | c7a774d | 2016-10-02 18:23:14 +0200 | [diff] [blame^] | 1 | echo 'echo "0:$0 1:$1 2:$2"' >sourced1 |
2 | set -- 1 2 3 | ||||
3 | "$THIS_SH" -c '. ./sourced1' arg0 arg1 arg2 | ||||
4 | echo Ok1:$? | ||||
5 | "$THIS_SH" -c '. ./sourced1 q w e' arg0 arg1 arg2 | ||||
6 | echo Ok2:$? | ||||
7 | |||||
8 | rm sourced1 |