├── README.md ├── main.c └── makefile /README.md: -------------------------------------------------------------------------------- 1 | # wt 2 | Easy UNIX filetype lookup. 3 | 4 | ## Updates 5 | 6 | Now supports 1,646 file extensions! 7 | 8 | ## Quick Start 9 | 10 | [Download the rep](https://github.com/maelswarm/wt/archive/master.zip) 11 | 12 | clone the rep: git clone ht​tps://git@github.com:maelswarm/wt.git 13 | 14 | Compile: 15 | 16 | gcc main.c -o wt 17 | 18 | ## Usage 19 | 20 | ./wt aiv 21 | avi: Audio Video Interleave file. 22 | 23 | ./wt main.c 24 | main.c: C language file. 25 | 26 | Or move wt to /usr/local/bin 27 | 28 | mv wt /usr/local/bin 29 | 30 | And then 31 | 32 | wt aiv 33 | Audio Video Interleave file. 34 | 35 | wt main.c 36 | C language file. 37 | -------------------------------------------------------------------------------- /makefile: -------------------------------------------------------------------------------- 1 | default 2 | gcc -std=c2x -c main.c 3 | gcc main.o -o wt --------------------------------------------------------------------------------