From a7972ed6c9c4d262cd310f939e269853cbd78d70 Mon Sep 17 00:00:00 2001 From: dtluna Date: Tue, 26 Mar 2019 12:05:35 +0300 Subject: [PATCH] Add true --- README.md | 4 ++++ true/true.go | 11 +++++++++++ 2 files changed, 15 insertions(+) create mode 100644 true/true.go diff --git a/README.md b/README.md index 21b9c2e..c4cffde 100644 --- a/README.md +++ b/README.md @@ -5,3 +5,7 @@ suckless-style coreutils in go The plan is to implement all the utilities from the [sbase list](https://git.suckless.org/sbase/file/README.html) with some additions + +Implemeted utilities: + + * `true` diff --git a/true/true.go b/true/true.go new file mode 100644 index 0000000..1cf5445 --- /dev/null +++ b/true/true.go @@ -0,0 +1,11 @@ +// true exits with a successful exit code (0) + +package main + +import ( + "os" +) + +func main() { + os.Exit(0) +}