Remix.run Logo
▲ zokier a day ago

GNU utils are very maximalist though. Busybox touch is much simpler, especially if you cut out the optional ifdeffed susv3 features: https://github.com/mirror/busybox/blob/master/coreutils/touc...

plan9 touch is also pretty clean: https://9p.io/sources/plan9/sys/src/cmd/touch.c