2023-08-25 16:54:41 -04:00
|
|
|
# xighlight
|
|
|
|
|
2023-09-17 16:17:16 -04:00
|
|
|
I'm gonna update this, I swear...
|
|
|
|
|
2023-09-20 06:29:11 -04:00
|
|
|
xighlight -- Program for highlighting source code in terminal.
|
2023-09-12 07:59:52 -04:00
|
|
|
|
|
|
|
- Everything related to my libraries is clean of all warning options on Clang, GCC and Valgrind.
|
2023-09-20 06:29:11 -04:00
|
|
|
- I don't know what else to write here, program is being done in my free time, so expect more...
|
|
|
|
- It kinda looks more serious if I have very long 'README.md' file, almost like a valid project.
|
2023-09-12 07:59:52 -04:00
|
|
|
|
2023-09-20 06:29:11 -04:00
|
|
|
Compile:
|
2023-09-12 07:59:52 -04:00
|
|
|
```bash
|
|
|
|
$ sh compile.sh
|
|
|
|
```
|
|
|
|
|
2023-09-20 06:29:11 -04:00
|
|
|
Install:
|
2023-09-12 07:59:52 -04:00
|
|
|
```bash
|
|
|
|
$ sudo sh install.sh
|
|
|
|
```
|
|
|
|
|
2023-09-20 06:29:11 -04:00
|
|
|
Use:
|
2023-09-12 07:59:52 -04:00
|
|
|
```bash
|
2023-09-17 16:17:16 -04:00
|
|
|
$ cat my_c_program.ext | xighlight
|
|
|
|
$ xighlight < my_c_program.ext
|
|
|
|
$ xighlight -i my_c_program.ext
|
2023-09-12 07:59:52 -04:00
|
|
|
```
|
|
|
|
|
|
|
|
This is what it prints to standard output, when standard input is C source code:
|
|
|
|
|
2023-09-12 08:02:58 -04:00
|
|
|
![screenshot](c_hello.png)
|