summaryrefslogtreecommitdiff
path: root/shell/ash_test/ash-alias/alias_brace.tests
blob: 7571b64ac03f2054d969c965e4b58f9ab8ca326f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Note: bash would need:
#shopt -s expand_aliases
# to enable aliases in non-interactive mode
alias BEGIN={ END=}
BEGIN
	cat <<- EOF > /dev/null
		$(:)
	EOF
END

: <<- EOF &&
	$(:)
EOF
BEGIN
	echo Ok
END