shellx

package
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 26, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package shellx provides POSIX shell quoting — the stdlib has no answer to "interpolate this string into a shell line safely" (Python ships shlex).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Quote

func Quote(s string) string

Quote single-quotes s for safe interpolation into a POSIX shell command line: inside single quotes nothing expands, and embedded quotes are rendered as the standard '\” dance. Safe for any content except NUL (which no shell argument can carry anyway).

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL