31 lines
710 B
Markdown
31 lines
710 B
Markdown
# xighlight
|
|
|
|
I'm gonna update this, I swear...
|
|
|
|
xighlight -- Program for highlighting source code in terminal.
|
|
|
|
- Everything related to my libraries is clean of all warning options on Clang, GCC and Valgrind.
|
|
- 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.
|
|
|
|
Compile:
|
|
```bash
|
|
$ sh compile.sh
|
|
```
|
|
|
|
Install:
|
|
```bash
|
|
$ sudo sh install.sh
|
|
```
|
|
|
|
Use:
|
|
```bash
|
|
$ cat my_c_program.ext | xighlight
|
|
$ xighlight < my_c_program.ext
|
|
$ xighlight -i my_c_program.ext
|
|
```
|
|
|
|
This is what it prints to standard output, when standard input is C source code:
|
|
|
|
![screenshot](c_hello.png)
|