aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/xxdi.pl
Commit message (Collapse)AuthorAgeFilesLines
* scripts: xxdi.pl: add xxd -i compat modePetr Štetiar2022-09-061-18/+19
| | | | | | | | | | | So it can serve as a standalone drop in replacement for xxd utility used currently mostly in U-Boot packages with `xxd -i` mode which outputs C include file style, with aim for byte to byte identical output, so the eventual difference in the generated output is easily spottable. Fixes: #10555 Signed-off-by: Petr Štetiar <ynezz@true.cz> Signed-off-by: Jo-Philipp Wich <jo@mein.io> [perl-fu]
* scripts: xxdi.pl: remove File::Slurp dependencyJo-Philipp Wich2022-09-061-2/+17
| | | | | | | In order to make it more portable. Signed-off-by: Jo-Philipp Wich <jo@mein.io> Signed-off-by: Petr Štetiar <ynezz@true.cz>
* scripts: add xxdi.plPetr Štetiar2022-09-061-0/+50
xxdi.pl is a Perl script that implements vim's 'xxd -i' mode so that packages do not have to use all of vim just to get this functionality. References: #10555 Source: https://github.com/gregkh/xxdi/blob/97a6bd5cee05d1b15851981ec38ef5a460ddfcb1/xxdi.pl Signed-off-by: Petr Štetiar <ynezz@true.cz>