fbink reading from stdin can lead to some unexpected results
Code:
[FBInk] Codepoint U+5348 is not covered by this font!
[FBInk] Codepoint U+524D is not covered by this font!
Next line should start @ row 240
[FBInk] Codepoint U+7B54 is not covered by this font!
Next line should start @ row 241
Next line should start @ row 242
Next line should start @ row 243
[FBInk] Codepoint U+30B3 is not covered by this font!
[FBInk] Codepoint U+30C3 is not covered by this font!
[FBInk] Codepoint U+30D7 is not covered by this font!
Next line should start @ row 244
like huh, what's going on
Code:
while read line
do
# do something with line
fbink "$line" # works with fancy options too
fbink --clear # reads all other lines and prints them by itself (or not, if not ASCII)
done < somefile.txt
now I end up `< /dev/null` all fbink calls :-}