Denys Vlasenko | 88b532d | 2013-03-17 14:11:04 +0100 | [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 |