summaryrefslogtreecommitdiff
path: root/tests/type1.sub
blob: 95f96aeaa7203365a2569daeb93894bd1b3250b1 (plain)
1
2
3
4
5
6
7
8
9
10
foo()
{
	echo $(<x1)
}

type foo

eval "$(declare -f foo | sed 's:foo:bar:')"

type bar