From 275313edb6489e2dd079874118a6526c6c1d8c91 Mon Sep 17 00:00:00 2001 From: Evgeny Cherkashin Date: Thu, 17 Feb 2022 12:06:01 +0800 Subject: [PATCH] Use markdown lists to layout the steps --- src/plugins/dev-charset.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/plugins/dev-charset.md b/src/plugins/dev-charset.md index 322b3e60..40a811c9 100644 --- a/src/plugins/dev-charset.md +++ b/src/plugins/dev-charset.md @@ -1,13 +1,13 @@ ## Charset -1-Create a file in `radare2/libr/util/d/yourfile.sdb.txt`. The extension .sdb.txt is important. -2-Edit the file `radare2/libr/util/charset.c`. +1. Create a file in `radare2/libr/util/d/yourfile.sdb.txt`. The extension .sdb.txt is important. +2. Edit the file `radare2/libr/util/charset.c`. -add `extern SdbGperf gperf_latin_1_ISO_8859_1_western_european;`. -then add your variable `&gperf_latin_1_ISO_8859_1_western_european,` in `static const SdbGperf *gperfs[]` -3-Update the Makefile: `radare2/libr/util/Makefile`: +3. Update the Makefile: `radare2/libr/util/Makefile`: -Add `OBJS+=d/latin_1_ISO_8859_1_western_european.o` -4-Update the Makefile `radare2/libr/util/d/Makefile` to add your file name with not .sdb and not .txt in `FILES=latin_1_ISO_8859_1_western_european` -5-Update the unit tests of `radare2/test/db/cmd/charset` +4. Update the Makefile `radare2/libr/util/d/Makefile` to add your file name with not .sdb and not .txt in `FILES=latin_1_ISO_8859_1_western_european` +5. Update the unit tests of `radare2/test/db/cmd/charset` Congratulation! You can now type the command: