1 2 3 4 5 6 7 8
#!/bin/sh file="$1/doc/foo/fn.foo.html" grep -v 'invisible' $file && grep '#\[deriving(Eq)\] // Bar' $file exit $?