zsh-users
 help / color / mirror / code / Atom feed
From: Ray Andrews <rayandrews@eastlink.ca>
To: Zsh Users <zsh-users@zsh.org>
Subject: Reading difficult directory name correctly:
Date: Thu, 10 Dec 2020 13:47:49 -0800	[thread overview]
Message-ID: <ce571bad-2815-c08a-7064-350ec79f8a82@eastlink.ca> (raw)

I may have asked this before but I can't remember the answer.  So the 
directory below is created automatically by certain software:

     $ls drwxr-xr-x 2      4096 2020-10-02/19:58:13 Sky above 49°30'N 
123°30'W at Sat 2020 Oct 3 5:35_files/


Tab completion seems to put backslashes where needed but the " _files  " 
is left off:
     $ rm -r Sky\ above\ 49°30\'N\ 123°30\'W\ at\ Sat\ 2020\ Oct\ 3\ 5:35

     rm: cannot remove "Sky above 49°30'N 123°30'W at Sat 2020 Oct 3 
5:35": No such file or directory

Is there a fix for this?  Not a big deal since just typing in the "  
_files   " works fine, still I'm expecting the underscore to cause no 
issues.




             reply	other threads:[~2020-12-10 21:48 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-10 21:47 Ray Andrews [this message]
2020-12-10 22:00 ` Bart Schaefer
2020-12-10 22:23   ` Ray Andrews
2020-12-10 22:32     ` Bart Schaefer
2020-12-11  1:25       ` Ray Andrews

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ce571bad-2815-c08a-7064-350ec79f8a82@eastlink.ca \
    --to=rayandrews@eastlink.ca \
    --cc=zsh-users@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).