Skip to main content

Module quote

Module quote 

Source
Expand description

Shell quoting utilities for command-stream

This module provides functions for safely quoting values for shell usage, preventing command injection and ensuring proper argument handling.

Functionsยง

needs_quoting
Check if a string needs quoting for shell usage
quote
Quote a value for safe shell usage
quote_all
Quote multiple values and join them with spaces