Added main, it has to start somewhere

Author Mitja Felicijan <mitja.felicijan@gmail.com> 2023-11-04 12:28:34 +0100
Committer Mitja Felicijan <mitja.felicijan@gmail.com> 2023-11-04 12:28:34 +0100
Commit 7d07bd86a130bae674348b600d13efc25942271e (patch)
-rw-r--r-- .gitignore 1
-rw-r--r-- Makefile 8
-rw-r--r-- README.md 9
-rw-r--r-- main.c 6
4 files changed, 23 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore
1
TAGS
1
TAGS
  
2
crep
diff --git a/Makefile b/Makefile
  
1
default:
  
2
	@echo "Check targets"
  
3
  
  
4
crep:
  
5
	$(CC) main.c -o crep
  
6
  
  
7
clean:
  
8
	rm crep
diff --git a/README.md b/README.md
1
# crep - like grep but for code
1
# crep - like grep but for code
2
  
2
  
3
> Note: you should use ctags or etags. Seriously. This is an experimental thingy.
3
**What is it?** If grep and etags had a baby.
  
4
  
  
5
Note: you should use ctags or etags. Seriously. This is an experimental thingy.
4
  
6
  
5
- https://en.wikipedia.org/wiki/Ctags
7
- https://en.wikipedia.org/wiki/Ctags
6
- https://www.emacswiki.org/emacs/TagsFile
8
- https://www.emacswiki.org/emacs/TagsFile
  
9
  
  
10
## Additional resources
  
11
  
  
12
- https://en.wikipedia.org/wiki/Boyer%E2%80%93Moore_string-search_algorithm
  
13
- https://github.com/tree-sitter/tree-sitter
diff --git a/main.c b/main.c
  
1
#include <stdio.h>
  
2
  
  
3
int main() {
  
4
  printf("Hi Mark!\n");
  
5
  return 0;
  
6
}