Git Product home page Git Product logo

Comments (2)

krallin avatar krallin commented on August 21, 2024

Right now, the CLI shell-escapes the variables it outputs (this might change in the future, as it can indeed be non-ideal in some cases, but for now that's the behavior).

Now, although I'm inclined to agree it's aesthetically unpleasing; technically, this formatting is a correct representation of your input:

sh-3.2$ TEST=a'
> 'a

sh-3.2$ printf "$TEST"
a
a

Is this a problem for you? If so, can you please clarify how? More information on your use case might at the very least help us in deciding whether shell-escaping is indeed the right thing to do.

Thanks!

from aptible-cli.

lacostenycoder avatar lacostenycoder commented on August 21, 2024

This bug caused a config problem for us until we figured it out. One of our env vars has an @ character which displays escaped when you run aptible config. We were setting up a new stack and copied the output of that command which in turn wrote the wrong data on the new env var on the new stack.

from aptible-cli.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.