summaryrefslogtreecommitdiff
path: root/test/checklinks
blob: 7b50c598888f82955c13242f1b3e420ec52608d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
## vim:ft=zsh

cat > links <<- quux
	foo ignored
	# ignored
	hard foo bar
	soft link file
	soft blub \$quux
quux

alias checklinks='checklinks --parameter quux=flurbl'

echo barbl > bar
echo flurbl > file
echo morp > flurbl

checklinks
[[ $(cat foo) == $(cat bar) ]]
[[ $(cat link) == $(cat file) ]]
[[ $(cat blub) == $(cat flurbl) ]]