Summary: | Environment variables inside command line <-e> option are expanded even when they must not | ||
---|---|---|---|
Product: | [Applications] konsole | Reporter: | Egor <egor.skriptunoff> |
Component: | general | Assignee: | Konsole Developer <konsole-devel> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | martin.sandsmark |
Priority: | NOR | ||
Version: | master | ||
Target Milestone: | --- | ||
Platform: | Mint (Ubuntu based) | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Egor
2016-04-15 20:02:19 UTC
I would agree it is a bug I think the unit test committed in 595adcd7e95ac050a4346b526164f791050691a7 is incorrect, "$SHELL" should still be expanded, but '$SHELL' should not? echo $SHELL;echo '\''$SHELL'\'' The first should be expanded, the 2nd not, correct? the second example is missing a '? but the test now tests basically «echo "$SHELL"», if I understand correctly, and that should be expanded, but «echo "$SHELL"» should not. Still relevant today. |