dtluna 4 months ago
parent
commit
a7972ed6c9
2 changed files with 15 additions and 0 deletions
  1. 4
    0
      README.md
  2. 11
    0
      true/true.go

+ 4
- 0
README.md View File

@@ -5,3 +5,7 @@ suckless-style coreutils in go
5 5
 The plan is to implement all the utilities from the
6 6
 [sbase list](https://git.suckless.org/sbase/file/README.html)
7 7
 with some additions
8
+
9
+Implemeted utilities:
10
+
11
+ * `true`

+ 11
- 0
true/true.go View File

@@ -0,0 +1,11 @@
1
+// true exits with a successful exit code (0)
2
+
3
+package main
4
+
5
+import (
6
+	"os"
7
+)
8
+
9
+func main() {
10
+	os.Exit(0)
11
+}

Loading…
Cancel
Save