
Wolfgang Denk wrote:
In message 4874CE57.7090005@ge.com you wrote:
Bleah on the small C program (nothing personal, just hate to add Yet Another Program to the build process). How about using echo for prelim text (if necessary) and xxd to create the struct instead? I like making maintenance Somebody Else's Problem (SEP[1])
$ man xxd
How standard is xxd across distributions and operating systems?
Best regards,
Wolfgang Denk
In debian, it is (also) provided by the vim-common package. It looks like vim (the project) is the origin of the command. That was Harald's objection to using xxd. Unfortunately, it appears to be a reasonable objection.
$ dpkg -S /usr/bin/xxd vim-common: /usr/bin/xxd
IMHO, vim and xxd are essential programs so I'm OK with using xxd. OTOH, I understand some people actually prefer emacs and may have a problem with requiring vim to be installed. ;-/
Best regards, gvb