k9core

Coreutils for *nix operating systems [fork]
git clone git://bvnf.space/k9core.git
Log | Files | Refs | LICENSE

DateCommit messageAuthorFiles+-
2021-09-15 01:26update TODOaabacchus1+1-0
2021-09-15 01:19Makefile: add some other targets, sortaabacchus1+7-2
2021-09-15 01:16Makefile: specify .POSIX; add distclean; typoaabacchus1+4-2
2021-09-14 21:59ls: fix syntax erroraabacchus1+1-0
2021-09-14 18:27Makefile: respect $CFLAGSaabacchus1+2-1
2021-09-14 18:26cat: initialise return_valueaabacchus1+1-1
2021-09-14 18:19nouserland: clang-formataabacchus2+48-53
2021-09-14 18:18nouserland: standardize return values and error messagesaabacchus2+8-5
2021-09-14 18:05head: rewrite using getopt and open, read rather than fopen,fgetcaabacchus1+38-23
2021-09-14 16:38shred: write one byte at a time, fsync the changesaabacchus1+6-1
2021-09-14 16:29shred: remove unused bufaabacchus1+0-3
2021-09-14 16:23shred: use optindaabacchus1+4-3
2021-09-14 16:15tee: fix permissions when creating a fileaabacchus1+1-1
2021-09-14 16:14groups: fix segfault by mallocing enough spaceaabacchus1+5-2
2021-09-14 16:09standardize return valuesaabacchus17+87-49
2021-09-14 14:50remove test.caabacchus1+0-11
2021-09-13 18:18standardize error messagesaabacchus26+173-90
2021-09-13 16:33Makefile: typosaabacchus1+3-3
2021-09-13 15:15ls: loop for all the argsaabacchus1+63-60
2021-09-13 15:04ls: abort if filename given as argaabacchus1+5-0
2021-09-13 14:09ls: add usage message (-h)aabacchus1+4-1
2021-09-13 14:05ls: reorder getoptsaabacchus1+9-9
2021-09-13 14:02ls: add -1aabacchus1+4-1
2021-09-13 14:00ls: separate by \n if stdout is not a ttyaabacchus1+2-1
2021-09-13 13:42ls: add exec detection to -Faabacchus1+17-3
2021-09-13 13:41ls: add -Faabacchus1+36-10
2021-08-21 23:41.gitignore: updateaabacchus1+2-1
2021-08-21 23:38Makefile: add PREFIX, DESTDIR support; create bin/ if it doesn't existaabacchus1+6-3
2021-08-21 23:34Makefile: fix object file pathsaabacchus1+2-2
2021-08-21 23:34chmod: remove muaabacchus1+1-1
2021-07-15 18:18formatqorg1133+205-194
2021-06-29 11:19fix style using clang-formatqorg1141+880-739
2021-03-15 12:00whoopsqorg111+3-5
2021-03-15 11:52wc shows the total of every file if you pass more than one fileqorg111+21-4
2021-01-19 12:51Don't take file as stdin if you passed a flag after optindqorg111+7-13
2021-01-14 06:43fix cat to return error if the read failsqorg111+7-2
2021-01-02 13:15Make wc read binary data by using fread() instead of fgetc()qorg111+6-6
2021-01-01 22:57fix braces styles in wc.cqorg111+6-12
2020-12-29 04:13* Cleaned code in the recursive thing * Print errors if any * Fixed a code copypaste?qorg111+38-38
2020-12-28 23:23* Add recursive directory listing to ls.c * Now you can actually give it a directory This is very ugly code, and it has to be fixed.qorg111+50-8
2020-12-26 03:06fix indentation in dateqorg111+25-25
2020-12-26 02:57Add todo to wcqorg111+13-1
2020-12-26 02:43* Fix segfault in wc.c when fopen() failsqorg111+27-20
2020-12-25 18:39Delete useless blank lineqorg111+0-1
2020-12-24 22:23Added stat.cqorg111+60-0
2020-12-18 23:38Added a bunch of things (mostly indetation), and changelogqorg118+293-135
2020-12-18 14:05Fixed stuff in rmdirqorg111+10-11
2020-12-11 17:46proto -l in lsqorg111+10-4
2020-12-05 14:41trying EBIN indentation style :-------DDDDDDDDDDDDqorg111+72-72
2020-12-05 14:34wait i'm fucking stupid, lmao, well musl, good luck searching for a file called -<CHAR>, but if it makes you happy, go for it my dudeqorg111+7-7
2020-12-05 14:26don't take - as stdin if it is a flag (solves musl getopt() bullshit)qorg111+2-3
2020-11-30 10:38sorry, my emacs indentation was retardedqorg111+19-19
2020-11-30 10:34less long lineqorg111+3-2
2020-11-30 10:33Tabs instead of spaces in indentation lolqorg111+19-19
2020-11-28 21:33added contributing guidelinessqorg111+7-0
2020-11-28 21:31im an idiotqorg111+1-1
2020-11-28 21:29cat: ignore -u and - can be used for stdinqorg111+10-10
2020-11-28 21:07shit to cat.c read the diff lmaoqorg111+5-6
2020-11-15 17:01https://lainsafe.delegao.moe/files/160545969573108.pngqorg111+1-1
2020-11-15 16:52Cleanup codeqorg111+5-6
2020-11-15 14:35%c is better since gnu date gives that by default so take itqorg111+1-1
2020-11-15 14:30Added a probably non posix compliant date(1) but it works :DDDqorg112+41-2
2020-11-08 20:52Added the -p flag to lsqorg111+35-22
2020-10-08 09:07Holy cow, I added comments but I made another commit to k9core!qorg111+4-3
2020-09-09 17:49It seems that, somehow, i typed 1 instead of 0qorg111+1-1
2020-09-09 17:47POSIX, I don't really get you sometimes...qorg111+5-1
2020-09-09 17:39Added tee!qorg111+60-0
2020-09-07 19:29added -h flag to chgrpqorg111+22-5
2020-09-07 15:59added chgrpqorg111+24-0
2020-08-28 22:20wc prints the filenameqorg111+4-5
2020-08-27 09:18Modified the styleqorg113+21-15
2020-08-24 00:31Is this ok, POSIX?qorg111+6-3
2020-08-23 17:23Remove useless headersqorg111+0-2
2020-08-23 16:48Whatever this does lmaoqorg111+36-0
2020-08-23 10:10cleaned up chmod.cqorg111+5-3
2020-08-23 09:02generic case for unameqorg111+1-0
2020-08-23 09:01what the hell is -m flag posix is literally the same as -cqorg111+4-2
2020-08-23 08:58Finally fixed wc :Dqorg111+32-25
2020-08-22 09:53Improved uname.cqorg111+27-7
2020-08-22 07:56Modified the readme because this also has util-linux packesqorg111+2-1
2020-08-22 07:51git you're a bit dumbqorg112+0-73
2020-08-22 07:49moved non coreutils programs to a nonuserland folder since they are not userland programsqorg112+73-0
2020-08-21 12:06Better style and stuff to uname.cqorg111+17-16
2020-08-21 07:38In GNU's uname(1) if you pass no arguments it prints the kernel name so mine does that too.qorg111+12-3
2020-08-21 07:31Added uname, works but probably not as it should, initial commit for this and i'll fix it if needed later (probably i forgot some flags, programming is hard)qorg111+49-0
2020-08-12 21:54added chrootqorg111+15-0
2020-08-12 18:54im stupidqorg111+1-1
2020-08-12 18:53added cat the posix -u flag which is uselessqorg111+8-6
2020-08-09 01:00Improved makefileqorg112+43-14
2020-08-08 19:45added a bunch of programsqorg113+32-0
2020-08-08 19:38added groupsqorg111+27-0
2020-08-07 17:56lmaoqorg111+0-0
2020-08-06 22:22Added logname.c differences with whoami.c: * whoami prints who you are * logname prints the username you logged with meaning that if you run logname with doas(1) or sudo(8) you'll get the real username instead of rootqorg111+8-0
2020-08-06 22:17tty(1), which prints the name of the teletypewriter you're using.qorg111+9-0
2020-08-06 22:13improved sleep by using usleep() instead of sleep() which allows more precise timesqorg111+4-3
2020-08-06 22:09add syncqorg111+8-0
2020-08-06 13:28added ernno thingsqorg118+25-17
2020-08-05 19:44im a bit dumb you knowqorg111+4-5
2020-08-05 15:34lolqorg111+1-6
2020-08-05 15:26i kinda hate posix because -n, but there it is i just have to add a for loop so it iterates every file passed by argsqorg111+24-5
2020-08-05 10:28added headqorg111+37-0
2020-08-02 20:05modified kill.c so doesn't use getopt (which in this case was a complete overkill). Also a warning if nothing given.qorg111+6-3
2020-08-02 16:23sleepqorg111+15-0
2020-08-02 16:01execqorg111+15-0
2020-07-30 12:07Almost done wc only pick from stdin if no file given. but all flags are working!qorg111+15-12
2020-07-30 11:59somebody pls fix flags and stdinqorg111+28-25
2020-07-29 21:22Merge branch 'master' of gitlab.com:call-cc/k9core into masterqorg113+6-6
2020-07-29 20:49added flags to wcqorg111+36-23
2020-07-28 12:37improve ls (make it look cleaner)Marie3+6-6
2020-07-28 12:26What the fuck is thisqorg111+44-8
2020-07-28 10:52added errno to ln.cqorg111+26-24
2020-07-28 10:47idk whats this git told me isnt' staged so hre's your commitqorg111+1-0
2020-07-28 10:46Edited some stuff in wc and mvqorg112+7-3
2020-07-25 00:12Fixed shredqorg111+4-4
2020-07-24 23:58use stat() instead of a own function to count bytes.qorg111+4-20
2020-07-24 00:35Added shredqorg111+55-0
2020-07-23 03:40Added unlink, not really sure of that this do but well here it isqorg111+21-0
2020-07-20 23:30less bad mvqorg111+14-20
2020-07-20 23:28yeah so now the thing closes the file descriptorsqorg112+3-2
2020-07-20 20:51cp now supports binary data and touch.c uses the saner creat() instead of open() because using open() there was simply stupidqorg112+12-19
2020-07-13 18:12fprintf in mount.cqorg111+1-1
2020-07-13 18:09Better errnoqorg113+5-4
2020-07-08 09:28added id.c.qorg111+26-0
2020-07-08 09:09-f flag for umount.c (now we use umount2 though)qorg111+10-1
2020-07-08 08:59lolqorg111+1-1
2020-07-08 08:58Added stuff to mount.cqorg111+19-2
2020-07-08 06:07Better whoamiqorg111+4-2
2020-07-08 05:33Mount and whoamiqorg112+36-0
2020-07-08 05:09added umountqorg111+18-0
2020-07-08 04:32I just do a prototype of mkdir -p that does not work because it does not work so is commented don't uncomment it unless you can fix it thank youqorg111+27-4
2020-06-20 13:19Merge branch 'master' of gitlab.com:call-cc/k9coreqorg111+2-3
2020-06-20 13:16Added -l to kill.cqorg111+26-0
2020-06-19 20:46Fix to remove error in -Wall -Wextracall-cc1+2-3
2020-06-19 15:08Fix ln slightly by removing instead of unlinking.call-cc1+4-2
2020-06-17 19:55whoopsqorg111+1-1
2020-06-17 19:53Aded cp and mvqorg112+90-0
2020-06-17 19:13This will save a lot of timeqorg111+1-0
2020-06-17 02:24more readable cat.cqorg111+5-2
2020-06-17 02:19Cat prints binary data nowqorg111+3-3
2020-06-16 23:00Someone make this read binary shitqorg111+16-13
2020-06-16 22:31Rewritten cat so it's not literally 9base'sqorg111+13-31
2020-06-16 19:28Improved wcqorg111+21-6
2020-06-16 16:52bare bones version of wcqorg111+20-0
2020-06-15 17:25unistd.h was useless in ls.cqorg111+0-1
2020-06-15 17:16Add -a flag for ls.qorg111+12-2
2020-06-15 17:09Do not print dot files in ls.cqorg111+5-1
2020-06-15 13:08Added ls.cqorg111+20-0
2020-06-15 12:41Added chown.cqorg111+28-0
2020-06-06 10:52Added variable guidelinesqorg111+50-40
2020-06-06 08:52Improve echo, or fix -n flagcall-cc1+6-3
2020-06-05 06:39printf -> fprintf in src/chmod.cqorg111+1-1
2020-06-05 06:38Added chmodqorg111+19-0
2020-06-03 23:53Added false and trueqorg112+10-0
2020-06-03 22:28Readme in orgqorg112+6-5
2020-06-03 21:29Fixed style in src/echo.cqorg111+5-4
2020-06-03 19:50Clean code in src/echo.cqorg111+1-1
2020-06-03 06:25Sorry i haven't slept in 21 hoursqorg111+2-1
2020-06-03 06:19goddammitqorg111+1-1
2020-06-03 06:15I don't know I was really drunk at the timeqorg111+0-1
2020-06-03 04:33slight fixcall-cc1+1-1
2020-06-03 04:32Add -n flag to echocall-cc1+5-1
2020-06-03 03:45License updatecall-cc1+2-1
2020-06-03 03:33Improve makefile and mark ln as completecall-cc2+5-2
2020-06-03 01:40I don't know how to use gdbqorg111+0-1
2020-06-03 01:36Switch statementcall-cc1+10-12
2020-06-03 01:30Added killqorg111+29-0
2020-06-03 01:23Change STYLE.ORG file name because it trips up gitlabcall-cc1+0-0
2020-06-03 01:15Add to READMEcall-cc1+2-2
2020-06-03 01:10Add to TODO and migrate to the kill-9 public licensecall-cc2+5-6
2020-06-03 00:43Improve yescall-cc1+4-12
2020-06-03 00:15Fix errors in style, plus more stuff about C standardizationcall-cc1+49-1
2020-06-02 23:54Add error alert to ln and another item to the todocall-cc2+7-1
2020-06-02 22:15Style written in orgqorg112+105-86
2020-06-02 21:25Add todo.org, fix pwd.ccall-cc3+14-6
2020-06-02 21:23Added new style thingqorg111+5-0
2020-06-02 21:17Change errors in rmdir to warnscall-cc1+3-2
2020-06-02 20:53Add -f flag to lncall-cc1+7-4
2020-06-02 20:36More makefile improvementscall-cc1+3-4
2020-06-02 20:28Remove note, improve makefilecall-cc2+7-2
2020-06-02 20:25I hate git.qorg112+23-16
2020-06-02 20:23Fixed makefileqorg111+11-11
2020-06-02 20:21Merge branch 'master' of https://gitlab.com/call-cc/k9corecall-cc1+13-5
2020-06-02 20:20Add note to ln.ccall-cc1+1-2
2020-06-02 20:19Add to TODO and clean up lncall-cc2+22-14
2020-06-02 20:12Improved makefileqorg111+13-5
2020-06-02 19:46Tried to add symlinks the worst way possible. Please fixqorg111+10-0
2020-06-02 17:48Add lnqorg111+21-0
2020-06-02 00:22Added yesqorg111+19-0
2020-06-01 23:57idk why is this merge important tbh Merge branch 'master' of gitlab.com:call-cc/k9coreqorg112+6-4
2020-06-01 23:56Added src/mkdir.c, src/rm.c, some tips for commiters and close file descriptor in src/touch.cqorg115+58-0
2020-06-01 23:42Adhere to style guidelinescall-cc2+6-4
2020-06-01 23:13added coding style guideqorg111+72-0
2020-06-01 22:07Make dirname more posix compliantcall-cc1+1-1
2020-06-01 22:02Add dirnamecall-cc1+13-0
2020-06-01 20:47Errors count to rmdirqorg111+8-2
2020-06-01 20:41Rewritten rmdirqorg111+10-4
2020-06-01 20:22add multiple-argument deletion to rmdircall-cc1+4-1
2020-06-01 20:18Add rmdircall-cc1+6-0
2020-06-01 20:07Add makefilecall-cc1+7-0
2020-06-01 20:02Added touchqorg111+23-0
2020-06-01 19:59Add READMEcall-cc2+5-1
2020-06-01 19:56Add pwdcall-cc1+9-0
2020-06-01 19:48Very slight cat fixcall-cc1+1-1
2020-06-01 19:40Fix echo, shorten file sizecall-cc1+1-2
2020-06-01 19:37Add echocall-cc1+14-0
2020-06-01 19:25Initial commitqorg112+60-0