Skip to content

Why does Dynaconf get show "%" after the result? #1046

Answered by rochacbruno
mjmare asked this question in Q&A
Discussion options

You must be logged in to vote

It does not come from Dynaconf, it comes from your shell, with two possibilities:

% is literally your shell prompt, since you don't have a final linefeed it's tacked onto the final line of your output
or if you're using fish or zsh, they add a % before inserting their own linefeed, so that the prompt is at the right place but you're still notified that the binary is behaving strangely

sh/ksh/bash

~ $ echo -n "hello shell"
hello world~ $ |

note that the shell prompt is tacked at the end of the output, rather than be a the familiar column 0

zsh / fish

~ $ echo -n "hello shell"
hello zsh% 
~ $ |

Prompt is at its normal position, and the shell has told you that the utility behaved oddly (be…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by rochacbruno
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants