Skip to content

Some doc pages commands do not work properly when password contains ! #144

Open
@s3rj1k

Description

@s3rj1k

One example would be https://developer.signalwire.com/freeswitch/FreeSWITCH-Explained/Installation/Linux/Deprecated-Installation-Instructions/CentOS-7-and-RHEL-7-for-FreeSWITCH-Enterprise_27590673/#about, but any page that has a similar construct to this:

yum install -y https://$(< /etc/yum/vars/fsausername):$(< /etc/yum/vars/fsapassword)@fsa.freeswitch.com/repo/yum-stack/fsa/centos-release/signalwire-stack-release-repo-0-1.noarch.rpm epel-release

will not work, as password gets evaluated and ! makes bash go crazy.

(Any http://* style commands)

To work around this I used ~/.netrc file to specify credentials, this at least works for wget and git.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions