This is the multi-page printable view of this section. Click here to print.

Return to the regular view of this page.

urlenc

    urlencode parameters using the default & separator (or a specific one using -s flag). Optionally, encode the values retrieving them from environment variables.

    Usage:
        ops -urlenc [-e] [-s <string>] [parameters]
    

    Options

    -e    Encode parameter values from environment variables
    -h    Show help
    -s string  Separator for concatenating the parameters (default "&")
    

    Examples

    ops -urlenc a=1 b=2
    

    This will output:

    a%3D1&b%3D2