Add true
This commit is contained in:
1 parent
a1be1a9c5e
commit
a7972ed6c9
2 files changed
+15
No files matched your search
@@ -5,3 +5,7 @@ suckless-style coreutils in go
|
|||||||
The plan is to implement all the utilities from the
|
The plan is to implement all the utilities from the
|
||||||
[sbase list](https://git.suckless.org/sbase/file/README.html)
|
[sbase list](https://git.suckless.org/sbase/file/README.html)
|
||||||
with some additions
|
with some additions
|
||||||
|
|
||||||
|
Implemeted utilities:
|
||||||
|
|
||||||
|
* `true`
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
// true exits with a successful exit code (0)
|
||||||
|
|
||||||
|
package main
|
||||||
|
|
||||||
|
import (
|
||||||
|
"os"
|
||||||
|
)
|
||||||
|
|
||||||
|
func main() {
|
||||||
|
os.Exit(0)
|
||||||
|
}
|
||||||
Reference in new issue
Block a user