I have the following file:

```
~$ od file.txt 
0000000 000012
0000001

```

And I would like to be able in a bash script to make sure that a file has these contents.
I would like to avoid perl and would like to use standard unix tools including od/sed/awk/tr etc.

Can you recommend a nice and clean way of doing it?