summary refs log tree commit diff
path: root/bin/cash/tests/parser/alias15.0
blob: ae7af187b4bed2826709b136c37d19b4a5e703cc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
# $FreeBSD: releng/12.0/bin/sh/tests/parser/alias15.0 261192 2014-01-26 21:19:33Z jilles $

f_echoanddo() {
	printf '%s\n' "$*"
	"$@"
}

alias echoanddo='f_echoanddo '
alias alias0='echo test2'
eval 'echoanddo echo test1'
eval 'echoanddo alias0'
exit 0