Commit Graph

160 Commits

Author SHA1 Message Date
qorg11 96d5493476
Fixed stuff in rmdir 2020-12-18 15:05:58 +01:00
qorg11 74047ab07f
proto -l in ls
ls requires *serious* revision since its code is fucking
horrible. i'll see what i do about it (please help)
2020-12-11 18:46:17 +01:00
qorg11 8a477a0cb7
trying EBIN indentation style :-------DDDDDDDDDDDD 2020-12-05 15:41:36 +01:00
qorg11 fbff968b27
wait 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 dude 2020-12-05 15:34:18 +01:00
qorg11 e4192c6155
don't take - as stdin if it is a flag (solves musl getopt() bullshit)
gnu, please add to your FUCKING MANPAGE THAT RESORTING argv IS A
FUCKING EXTENSION OF YOUR SHIT, GODDAMN

jk, love you GNU, but please, i don't use man 3p that often

t. spurdo
2020-12-05 15:26:36 +01:00
qorg11 dc61ade113
sorry, my emacs indentation was retarded 2020-11-30 11:38:31 +01:00
qorg11 342a8857ec
less long line 2020-11-30 11:34:52 +01:00
qorg11 dd949baf1c
Tabs instead of spaces in indentation lol 2020-11-30 11:33:42 +01:00
qorg11 34a3f381ad
added contributing guideliness 2020-11-28 22:33:26 +01:00
qorg11 609309e146
im an idiot 2020-11-28 22:31:01 +01:00
qorg11 36f49ec406
cat: ignore -u and - can be used for stdin 2020-11-28 22:29:41 +01:00
qorg11 8627b3bf15
shit to cat.c read the diff lmao 2020-11-28 22:07:59 +01:00
qorg11 997b2ed44c
https://lainsafe.delegao.moe/files/160545969573108.png 2020-11-15 18:01:54 +01:00
qorg11 cc03664bf1
Cleanup code 2020-11-15 17:52:02 +01:00
qorg11 c322cdd470
%c is better since gnu date gives that by default so take it 2020-11-15 15:35:32 +01:00
qorg11 b0ca1234fd
Added a probably non posix compliant date(1) but it works :DDD 2020-11-15 15:30:59 +01:00
qorg11 8dc1039990
Added the -p flag to ls 2020-11-08 21:52:31 +01:00
qorg11 a43985bfdf
Holy cow, I added comments but I made another commit to k9core! 2020-10-08 11:07:40 +02:00
qorg11 1d78c2ccff
It seems that, somehow, i typed 1 instead of 0 2020-09-09 19:49:02 +02:00
qorg11 8f16928a59
POSIX, I don't really get you sometimes... 2020-09-09 19:47:01 +02:00
qorg11 f4871118a4
Added tee!
It supports all the POSIX flags! (-i and -a)
2020-09-09 19:39:56 +02:00
qorg11 8eed6cca17
added -h flag to chgrp 2020-09-07 21:29:14 +02:00
qorg11 b244eb3037
added chgrp 2020-09-07 17:59:18 +02:00
qorg11 ea00641408
wc prints the filename 2020-08-29 00:20:17 +02:00
qorg11 21718a0a61
Modified the style 2020-08-27 11:18:42 +02:00
qorg11 571b6c73e0
Is this ok, POSIX? 2020-08-24 02:31:35 +02:00
qorg11 98f9bd9e15
Remove useless headers 2020-08-23 19:23:58 +02:00
qorg11 016c4f6a39
Whatever this does lmao 2020-08-23 18:48:44 +02:00
qorg11 20eb8d53d4
cleaned up chmod.c 2020-08-23 12:10:00 +02:00
qorg11 0a5169b490
generic case for uname 2020-08-23 11:02:04 +02:00
qorg11 8cde471f41
what the hell is -m flag posix is literally the same as -c 2020-08-23 11:01:36 +02:00
qorg11 9713636417
Finally fixed wc :D 2020-08-23 10:58:30 +02:00
qorg11 4d96265f95
Improved uname.c 2020-08-22 11:53:59 +02:00
qorg11 d8c6dd6fe8
Modified the readme because this also has util-linux packes 2020-08-22 09:56:17 +02:00
qorg11 7f38565e50
git you're a bit dumb 2020-08-22 09:51:02 +02:00
qorg11 a8ae0f14c0
moved non coreutils programs to a nonuserland folder since they are
not userland programs
2020-08-22 09:49:46 +02:00
qorg11 b653b7599a
Better style and stuff to uname.c 2020-08-21 14:06:28 +02:00
qorg11 2b3baec776
In GNU's uname(1) if you pass no arguments it prints the kernel name
so mine does that too.

TODO: print operating system name in -a and in the useless flag -v,
posix says it should be like that
2020-08-21 09:38:40 +02:00
qorg11 41fac48fb0
Added 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)
2020-08-21 09:31:06 +02:00
qorg11 7f4a6e2733
added chroot 2020-08-12 23:54:59 +02:00
qorg11 dfa79c963b
im stupid 2020-08-12 20:54:29 +02:00
qorg11 015f021669
added cat the posix -u flag which is useless 2020-08-12 20:53:47 +02:00
qorg11 07c86b10fb
Improved makefile 2020-08-09 03:00:20 +02:00
qorg11 30bc6754a5
added a bunch of programs 2020-08-08 21:45:46 +02:00
qorg11 d832f81d97
added groups 2020-08-08 21:38:00 +02:00
qorg11 f0712c34b2
lmao 2020-08-07 19:56:58 +02:00
qorg11 e5464f8a7c
Added 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 root
2020-08-07 00:22:16 +02:00
qorg11 cd73c58a88
tty(1), which prints the name of the teletypewriter you're using. 2020-08-07 00:17:15 +02:00
qorg11 fdd35796cb
improved sleep by using usleep() instead of sleep()
which allows more precise times
2020-08-07 00:13:17 +02:00
qorg11 0d806ef04b
add sync 2020-08-07 00:09:49 +02:00