Registry / utility / anmitsu-go-shlex

anmitsu-go-shlex

JSON →
library0.0.0-20200514113438-38f4b401e2begogounverified

Package shlex provides a simple lexical analysis similar to Unix shell parsing.

go get github.com/anmitsu/go-shlex
INSTALL
IMPORT
SIG · ANMITSU-GO-SHLEX
A
anmitsu-go-shlex
utilitygov0.0.0-20200514113438-38f4b401e2be
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

shlex
github.com/anmitsu/go-shlex

Splits a shell command string into tokens.

package main import ( "fmt" "github.com/anmitsu/go-shlex" ) func main() { words, _ := shlex.Split("echo 'hello world'") fmt.Println(words) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.0-20200514113438-38f4b401e2belatest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
24 hits · last 30 days
node
22
Meta
1
OpenAI (training)
1
Resources
anmitsu-go-shlex — go get anmitsu-go-shlex · libregistry