Registry / utility / alessio-shellescape-v1

alessio-shellescape-v1

JSON →
library1.0.0-20170105083845-52074bc9df61gogounverified

Package shellescape provides the shellescape.Quote function to escape arbitrary strings for safe use as command line arguments in POSIX shells.

go get gopkg.in/alessio/shellescape.v1
INSTALL
IMPORT
SIG · ALESSIO-SHELLESCAP
A
alessio-shellescape-v1
utilitygov1.0.0-20170105083845-52074bc9df61
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.

shellescape
gopkg.in/alessio/shellescape.v1

Escape a string for shell use

package main import ( "fmt" "gopkg.in/alessio/shellescape.v1" ) func main() { escaped := shellescape.Quote("hello world") fmt.Println(escaped) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.0.0-20170105083845-52074bc9df61latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
32 hits · last 30 days
node
26
Amazon
1
OpenAI (training)
1
Resources
alessio-shellescape-v1 — go get alessio-shellescape-v1 · libregistry