Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/apparentlymart/go-shquot
https://github.com/apparentlymart/go-shquot
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/apparentlymart/go-shquot
- Owner: apparentlymart
- License: mit
- Created: 2018-12-28T02:28:18.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2018-12-29T01:16:04.000Z (almost 6 years ago)
- Last Synced: 2024-10-12T20:01:18.065Z (2 months ago)
- Language: Go
- Size: 31.3 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Go Shell Quoting Utilities
This module has various helper functions for quoting and escaping an array
of strings as expected by the "exec" calls on a Unix system into single strings
that should be able to pass through shells and other intermediaries to produce
the same result.There is no single common quoting format that works for all shells and other
layers, so this module makes no attempt to abstract away these differences.
Instead, it provides a family of functions with the same signature so that the
caller may select -- possibly dynamically -- a suitable quoting function to use.For more information, see [the package reference documentation](https://godoc.org/github.com/apparentlymart/go-shquot/shquot).