[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#63048: [Home] Shell alias values are not properly quoted
From: |
Ekaitz Zarraga |
Subject: |
bug#63048: [Home] Shell alias values are not properly quoted |
Date: |
Mon, 24 Apr 2023 10:10:29 +0000 |
As an extra note:
The problem I encountered was when the alias was defined using single quote
marks:
alias ls='ls blabla "problem"'
this is parsed to:
("ls" . "blabla \"problem\"")
Which is written as:
alias ls="blabla "problem""
Which is wrong.
So the problem relies on the fact that the quotations marks have been changed
from ' to " and the escaping have not been adjusted accordingly.
:)