From bc423b13095744d3c15fd2f3a4e90e1080187992 Mon Sep 17 00:00:00 2001 From: call-cc Date: Tue, 2 Jun 2020 17:25:33 -0400 Subject: [PATCH] Add todo.org, fix pwd.c --- TODO | 4 ---- TODO.org | 13 +++++++++++++ src/pwd.c | 2 +- 3 files changed, 14 insertions(+), 5 deletions(-) delete mode 100644 TODO create mode 100644 TODO.org diff --git a/TODO b/TODO deleted file mode 100644 index 0566906..0000000 --- a/TODO +++ /dev/null @@ -1,4 +0,0 @@ -* The rest of programs. -* Manuals -* flags for the programs -* fix yes (constantly returns y when no argument is passed) \ No newline at end of file diff --git a/TODO.org b/TODO.org new file mode 100644 index 0000000..c4b791a --- /dev/null +++ b/TODO.org @@ -0,0 +1,13 @@ +- [ ] The rest of programs. +- [ ] Manuals +- [-] flags for the programs + - [X] ln + - [X] cat + - [ ] dirname + - [ ] echo + - [ ] mkdir + - [ ] pwd + - [ ] rmdir + - [ ] rm + - [ ] touch + - [X] yes diff --git a/src/pwd.c b/src/pwd.c index 29bc97b..0a5ebbf 100644 --- a/src/pwd.c +++ b/src/pwd.c @@ -5,5 +5,5 @@ int main() { puts(getcwd(NULL, 0)); - return 1; + return 0; }