summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2025-06-21 15:07:05 -0400
committerIan Moffett <ian@osmora.org>2025-06-21 15:07:05 -0400
commit44161afdb82c792be739fa2e5fb0d5c6394634d7 (patch)
treebbeecf5e055112e5b40491bb7543b99615e9b464 /usr.bin
parentcba691959af3dd6fc1d0eb89ea81f41a022b526f (diff)
usr: usr.bin/time -> usr.bin/date
Change the 'time' binary to be called 'date' as it is more fitting for the type of program it is. Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/Makefile2
-rw-r--r--usr.bin/date/Makefile (renamed from usr.bin/time/Makefile)2
-rw-r--r--usr.bin/date/date.c (renamed from usr.bin/time/time.c)0
-rw-r--r--usr.bin/osh/osh.c2
4 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/Makefile b/usr.bin/Makefile
index 8b22b73..9b241d8 100644
--- a/usr.bin/Makefile
+++ b/usr.bin/Makefile
@@ -9,7 +9,7 @@ all:
make -C kmsg/ $(ARGS)
make -C fetch/ $(ARGS)
make -C kfgwm/ $(ARGS)
- make -C time/ $(ARGS)
+ make -C date/ $(ARGS)
make -C mex/ $(ARGS)
make -C beep/ $(ARGS)
make -C mrow/ $(ARGS)
diff --git a/usr.bin/time/Makefile b/usr.bin/date/Makefile
index 9ac98b4..09ff299 100644
--- a/usr.bin/time/Makefile
+++ b/usr.bin/date/Makefile
@@ -2,5 +2,5 @@ include user.mk
CFILES = $(shell find . -name "*.c")
-$(ROOT)/base/usr/bin/time:
+$(ROOT)/base/usr/bin/date:
gcc $(CFILES) -Iinclude/ -o $@ $(INTERNAL_CFLAGS)
diff --git a/usr.bin/time/time.c b/usr.bin/date/date.c
index 2f3b11f..2f3b11f 100644
--- a/usr.bin/time/time.c
+++ b/usr.bin/date/date.c
diff --git a/usr.bin/osh/osh.c b/usr.bin/osh/osh.c
index db8865d..efb159e 100644
--- a/usr.bin/osh/osh.c
+++ b/usr.bin/osh/osh.c
@@ -55,7 +55,7 @@
"fetch - System information\n" \
"kfg - Start up kfgwm\n" \
"bell - Toggle backspace bell\n" \
- "time - Get the current time\n" \
+ "date - Get the current date\n" \
"clear - Clear the screen\n" \
"exit - Exit the shell"