Sometimes you don’t have access to vim’s wonderful xxd
tool, and you need to use it to generate some .c code based on
a binary file.
This happened to me recently when packaging up the EFI signing tools for Gentoo.
Adding a build requirement of vim for a single autogenerated file was
not an option for some users, so I created a perl version of the
xxd -i command line tool.
This works because everyone has perl in their build systems, whether
they like it or not. Instead of burying it in the efitools
package, here’s a copy of it for others to use if they want/need it.
💬 Topluluk tartışması ve yorumlar
Tartışmayı başlat: Social Chat yayın akışı veya yukarıdaki ekleme formuyla uzman katkısı gönder.