There is mistake in my post.
The correct one is ./pi-in-hex -n 2300 | head -c 2270 | tail -c 1