command line – Interplay between `od -xc` and Terminal coloration change

command line – Interplay between `od -xc` and Terminal coloration change

[ad_1]

If I listing the ID3 tags of an MP3 file with eyeD3, the total file identify/path is proven in inexperienced, and the file measurement spaced over to the proper fringe of the Terminal window.  Earlier than and after, a line of hyphens additionally goes the total width. But when I pipe the output by od -xc, the road of hyphens is way shorter, the escape sequences usually are not proven, three intervals change a big a part of the trail/identify, and there’s no area between filename and measurement.  Instance under.

Is it a bug? If sure, which device is the bug in? (I suspect it isn’t potential for eyeD3 to detect the pipe and alter conduct.)

0000540      676e    0a5d    614c    676e    6175    6567    2d0a    2d2d
           n   g   ]  n   L   a   n   g   u   a   g   e  n   -   -   -
0000560      2d2d    2d2d    2d2d    2d2d    2d2d    2d2d    2d2d    2d2d
           -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -
0000600      2d2d    2d2d    2d2d    2e0a    2e2e    6f72    206c    7542
           -   -   -   -   -   -  n   .   .   .   r   o   l       B   u

[ad_2]

Previous Article

How information remodeled from technical useful resource to strategic enterprise asset

Next Article

Spotify says it should take away Neil Younger’s music as a substitute of dropping Joe Rogan

Write a Comment

Leave a Comment

Your email address will not be published. Required fields are marked *

Subscribe to our Newsletter

Subscribe to our email newsletter to get the latest posts delivered right to your email.
Pure inspiration, zero spam ✨