diff --git a/.gitignore b/.gitignore index 0fb2570..cede6c6 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,4 @@ -minihex +uhex *.html *.o *.bin diff --git a/README.md b/README.md index 7138e16..d1c0b3c 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ -# minihex +# μhex -![minihex showcase](https://i.ibb.co/w6SkKQs/minihex.png) +![uhex showcase](https://i.ibb.co/w6SkKQs/minihex.png) A minimalist, single-file hexadecimal editor written using around 100 lines of C with no dependencies (except the standard library). The program tries to be as simple as possible. Other features might be added in the future. Boredom made me code it in one day. @@ -9,7 +9,8 @@ Other features might be added in the future. Boredom made me code it in one day. ``` make -./minihex +make install +uhex ``` To get help with the commands, do not provide any filename. File editing is done one byte at a time. Colors are present so that you can see things better. You can also use minihex only to see files as hex. Please take notice that there is no option to safe modified buffer when quitting with the `q` command. diff --git a/makefile b/makefile index 79f8c8b..500efff 100644 --- a/makefile +++ b/makefile @@ -3,7 +3,10 @@ CFLAGS=-g -Wall -Wextra -o CFILES=hex.c all: - $(CC) $(CFILES) $(CFLAGS) minihex + $(CC) $(CFILES) $(CFLAGS) uhex + +install: all + sudo cp uhex /usr/local/bin clean: - rm minihex + rm uhex diff --git a/test.txt b/test.txt index a281799..2f9a19e 100644 --- a/test.txt +++ b/test.txt @@ -1,3 +1,3 @@ ÿÿÿÿo, from a text file. -This is a public service announcement +This is a public service announcemeÿt brought to you inCpart by Slim Shady lol