Drake
353fc8565a
workflows: add github graphql analysis.
3 years ago
Drake
7837b072ee
git meta: merge branch 'singleBinary'. :D
3 years ago
Drake
f4054dde94
README.md: add todo for multibin.
3 years ago
Drake
90627d1428
`src/main.c`: rename to `src/dbox.c`.
...
it should hereby be refered to in commit messages as `dbox`, because it
is now a fully incorporated program.
3 years ago
Drake
4dacf439da
`src/main.c`: remove debug messages.
3 years ago
Drake
b2765e063a
Makefile: rework install target.
3 years ago
Drake
8dcabbbc5e
Makefile: build main.c in all target.
3 years ago
Drake
d395b0ae28
`src/main.c`/Makefile: inital single bin support.
...
get fucked sigsegvs, I won this time.
very early, probably very broken, havent really had time to test too
muj
3 years ago
Drake
ccc3c2304f
Makefile: compile to object files.
3 years ago
Drake
c42912e9ad
TODO.md: remove old file.
3 years ago
Drake
9921ad5cff
all: change main funcs to respectively named ones
...
first big change to help with moving to a single binary :)
3 years ago
Drake
0debe66178
Makefile: fix building release.
3 years ago
Drake
2d787448fb
Makefile: fix compile blocking issues.
...
- mkdir bin properly now before calling ${PROGS}
- specify $VERSION in top of file instead of inline in the compiler
3 years ago
Drake
9a92991bf1
Makefile: make targets phony.
3 years ago
Drake
38d1b0bbc4
Makefile: initial rewrite.
3 years ago
Drake
97f3207d5f
add readme, finally
3 years ago
Drake
ecb700d401
`chroot`/Makefile: add chroot
3 years ago
Drake
7a801dbe8e
`cp`/Makefile: add `cp`.
3 years ago
Drake
810dec9808
`ls`/file.h/ansi-colour.h: add colouring for executables.
...
also switched symlink colour from green to purple (so I can use green for executables).
3 years ago
Drake
ad598c70f9
`ls`: fix memory leak from not freeing the directory.
3 years ago
Drake
e67b7064d7
compilers.md: remove `tcc` as supported compiler.
3 years ago
Drake
5e09a79105
`ls`: massive refactor to support passing multiple paths.
...
moved printing files into function
can now parse multiple paths when passed
reworked printing to directly add paths to a char** and sort them, as opposed to the jank simoleon delimiter thing i was doing previously with strtok
3 years ago
Drake
93b1d9219d
`yes`: run clang-format.
...
dammit, where is my precommit hook
3 years ago
Drake
13108d72dd
compilers.md: add tested compilers.
3 years ago
Drake
c43fec2f70
TODO.md/`yes`: resolve todo.
3 years ago
Drake
6476b90e9b
`ls`: update help message.
3 years ago
Drake
e99e656838
Makefile: add strip target.
3 years ago
Drake
e05c4f8d22
`ls`: add proper short option handling.
...
Now a command such as `ls -caC` is valid, and will be interpreted the same as `ls --color --all --columns`
3 years ago
Drake
39f3cc2ec2
move copyright attribution back to me
3 years ago
Drake
18a60f9b70
LICENSE: move copyright to "drakecoreutils contributors".
3 years ago
Drake
e78aa64bb1
`yes`: rework printing and use a buffer.
3 years ago
Drake
38705fa09b
`cat`: close file descriptor in `concatFileToStdoutWithOptions`.
...
otherwise, it was causing memory leaks.
3 years ago
Drake
0ab66c2a27
`uname`: read hostname at the beginning, instead of on-demand.
3 years ago
Drake
389dbcda7c
`cat`: add `--show-line-ends`.
3 years ago
Drake
98e6ace84d
Makefile: add EXCLUDE_PROGS option for make install.
...
rm is nowhere near proper completion (that i'd trust, anyways) so i'm adding this so i dont have to install it.
in fact, its not installed by default (you'll have to manually specify the variable.)
3 years ago
Drake
84ca84611f
`rm`: add `--follow-symlinks`.
...
now i have a feature that gnu doesn't even have!
admittedly a pointless one... but still a substantial feature none-the-less.
3 years ago
Drake
e16bee31d5
`rm`/Makefile: add `rm`.
...
another gamer added to the ranks of the esports team.
supports recursive deletion of directories.
3 years ago
Drake
19d0be3cf0
`ls`: move width checking to before filename printing.
...
this matches gnu/posix `ls` more (maybe?).
also it looks better imo
3 years ago
Drake
e8412ff491
`ls`/file.h: run `clang-format`.
...
the "i need a pre-commit hook" curse strikes again.
3 years ago
Drake
1567e63152
`cat`/file.h: move `concatFileToStdout` func to file.h.
...
another thing i figure may be somewhat needed.
3 years ago
Drake
42e3204429
`ls`/checks.h: move `startsWith*` functions to header.
...
i figure these'll be useful in other programs, so might as well go ahead and add them.
3 years ago
Drake
6f27014976
`cat`: remove pointless checking after running concatFileToStdout.
...
it didn't even seem to work properly anyways.
3 years ago
Drake
54b63951e9
Makefile: bump version.
3 years ago
Drake
55a4447206
Makefile: add copyright declation to `DRAKECU_VERSION`.
...
now is shown in --version and --help messages.
3 years ago
Drake
2f14fffd5c
All: add license comment.
...
also: change ansi implementation to be slightly less copyright-infringing.
3 years ago
Drake
323845a4f4
Create LICENSE
3 years ago
Drake
becfc95d17
Makefile: bump version.
3 years ago
Drake
75be2b920a
`cat`: allow concatenating multiple files.
...
previously the `concatenating` in the help message meant concatenating to stdout :p
3 years ago
Drake
3779dcae13
Makefile: bump version.
...
it's time, bois.
3 years ago
Drake
4a2bc64ca5
`ls`: update help message.
...
added example usage, --width docs, and cwd note.
3 years ago