Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Lack of sanitisation of I/O in pushd/popd
- X-seq: zsh-workers 42373
- From: Joao Paulo <joaolrpaulo@xxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Lack of sanitisation of I/O in pushd/popd
- Date: Mon, 19 Feb 2018 16:34:32 +0000
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=iQe1ub3v7iCQnm/Uo9QnOlz2DrtNbMDcv/+L15Dp5/0=; b=b5MdoUYHFzE1BwfXz1uklq1yfRGm8tKn3y3i62AuQmrLUAwfrjPHK8ku8JcAgdhS+c 6uLKsfT7VeLHfmz8qu7e5BSOorbIN847khkds6sc7FT3jZnHxI0+ThMxs5U1C3LW/lGl 3t9bPAWe0rq18FuJ/k1aFz8WTUT2dyMKwxbzf1MPIozYyWtw4h6WVQ0+K7DZ6ujBThFw 6OaIFIBQn78mhzEHuvB5LlS3nKCuRkI4/bxzRNTyuzlaPzdkFMxRMCdJucW60IhxCzgw cmPJ+4CJy5Zxd2Unc0oEEoQ46ENPWD+D6IrA1lPpXBNldeIIBSxRN2YtV9CZKdrrHTdp HfAQ==
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- List-unsubscribe: <mailto:zsh-workers-unsubscribe@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
Hello,
I am encountering some problems with the implementation of the pushd and
popd. The spaces in directory paths should be sanitise so I can read them
properly. This is if I have a folder named Google Drive in my home
directory, I expect it to be `~/Google\ Drive` not `~/Google Drive`, this
is causing me problems to read the data from the `popd -n` because there is
no difference between that whitespace, and the whitespace used to print
elements in the stack.
Best Regards,
João Paulo
Messages sorted by:
Reverse Date,
Date,
Thread,
Author