idkwim / ouspg

Automatically exported from code.google.com/p/ouspg
3 stars 0 forks source link

no bit-field support in blab #67

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. blab -e '0b0xxxxxxx'
2. ...
3. no win

What is the expected output? What do you see instead?

I would have wanted a byte with some of those bits set. This wouldn't break the 
idea of the tool, just extend it a bit deeper (no pun intended).

Use case: making mostly valid UTF-8 easily.

Original issue reported on code.google.com by aohelin on 6 Dec 2011 at 9:13

GoogleCodeExporter commented 9 years ago
There is now. Let's see if it's of any use.

$ blab -e '0b01______ {30} 10' -n 5
j~StNE@HTfTvdQqrQeh\kWnd^xT|b
x}{[Rhz}~Vh}UNtPt@_KbTvr@FbQ
MfW_ZEAgGI_QsPlr~MfmxSfoknvqa
GBdbqaliX^dWNUhgtYcEXh`VAOrnN|
`ddUUmyEDk\]ej|CDIcDxy\XBtkTn

Original comment by aohelin on 7 Dec 2011 at 2:49