bash or

C++
if [ "$1" = "a.txt" ] || [ "$2" = "c.txt" ]; then
	# do smt...
fi
Source

Also in C++: