I know you, but you don't know me You're tasked with writing two programs. Program A must print out nothing on all inputs except when program B is input, in which case it should print 1. Program B must print out 1 on all inputs except when program A is input, in which case it should print nothing.

Scoring: 


+1 For each character from both programs.
Lowest score wins.
Bash - 32 characters

Script A - 16 characters

cmp -s b&amp;&amp;echo 1


Script B - 16 characters

cmp -s a||echo 1


Usage

$&gt; echo "foo" | ./a
$&gt; cat b | ./a
1
$&gt; echo "foo" ./b
foo ./b
$&gt; cat a | ./b