From: Bart Schaefer <schaefer@brasslantern.com>
To: Zsh Users <zsh-users@sunsite.dk>
Subject: Re: Is this the Zsh way for doing this?
Date: Sun, 28 Mar 2004 21:00:01 +0000 [thread overview]
Message-ID: <1040328210001.ZM26325@candle.brasslantern.com> (raw)
In-Reply-To: <20040328200756.GB6311@DervishD>
On Mar 28, 10:07pm, DervishD wrote:
}
} Thanks a lot for your answer :)
No problem; you're welcome.
} > # At this point you might also want to clean wildcards and slashes
} > # out of $track_name, but that's up to you. Your original doesn't.
}
} No, it doesn't because I didn't thought of it :( Thanks for
} pointing. Could it be solved using the (q) flag or should I use ${//}
} and substitute every dangerous character for a safe version?
The substituion is necessary for slashes, because you can't even create a
file with slashes in the name.
The (q) flag is _not_ necessary for other metacharacters when creating
the file (the argument to "mv" is already double-quoted); the problem
would be with manipulating the names later. So doing either nothing or
the substitution is appropriate in that case.
next prev parent reply other threads:[~2004-03-28 21:00 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-25 22:32 DervishD
2004-03-28 0:55 ` Bart Schaefer
2004-03-28 1:03 ` Bart Schaefer
2004-03-28 20:07 ` DervishD
2004-03-28 21:00 ` Bart Schaefer [this message]
2004-03-29 14:08 ` DervishD
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=1040328210001.ZM26325@candle.brasslantern.com \
--to=schaefer@brasslantern.com \
--cc=zsh-users@sunsite.dk \
/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).