summaryrefslogtreecommitdiffstats
path: root/tests/new-exp7.sub
blob: 970475ccd35447fbe4241dfbee0eeb03908aa1d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
foo()
{
	echo < <(cat x1)
}

type foo

declare -f foo

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

type bar