mirror of
http://git.dtluna.net/tomo/go-coreutils.git
synced 2025-01-07 06:29:52 +00:00
Add true
This commit is contained in:
parent
a1be1a9c5e
commit
a7972ed6c9
@ -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`
|
||||
|
11
true/true.go
Normal file
11
true/true.go
Normal file
@ -0,0 +1,11 @@
|
||||
// true exits with a successful exit code (0)
|
||||
|
||||
package main
|
||||
|
||||
import (
|
||||
"os"
|
||||
)
|
||||
|
||||
func main() {
|
||||
os.Exit(0)
|
||||
}
|
Loading…
Reference in New Issue
Block a user