]> git.ipfire.org Git - thirdparty/bash.git/blame - tests/alias2.sub
Bash-5.0 patch 11: fix quoted null character removal in operands of conditional ...
[thirdparty/bash.git] / tests / alias2.sub
CommitLineData
a0c0a00f
CR
1THIS=alias2
2FN=$TMPDIR/$THIS.script
3
4cat > $FN <<'EOF'
5#
6(echo "$1")
7EOF
8chmod u+x $FN
9
10shopt -s expand_aliases
11
12alias foo1='$FN one; source $FN two; source $FN three; $FN four'
13
14alias foo2='$FN one
15source $FN two
16source $FN three
17$FN four'
18
19foo1
20foo2
21
22rm -f $FN