[Linux-disciples] A function call for escaped characters

Stephen R Laniel steve at laniels.org
Tue Aug 9 22:56:07 EDT 2005


On Tue, Aug 09, 2005 at 06:52:08PM -0400, Adam Rosi-Kessel wrote:
> This page
> http://linuxreviews.org/beginner/Bash-Scripting-Introduction-HOWTO/en/x311.html
> purports to list all the characters that must be escaped. I can't vouch
> for its completeness, but it seems like it covers all the ones that are
> likely (or even unlikely) to be appear in filenames.

It doesn't include the space character, or the semicolon. Or
did I not look closely enough? From what I can tell, it only
lists

#  " (double quote)
# ' (single quote)
# ` (backquote)
# \ (backslash)

There must be a more complete list. And I imagine there's a
way to ask bash what it escapes, but I could be wrong. Maybe
bash-devel exists and can help me.

-- 
Stephen R. Laniel
steve at laniels.org
+(617) 308-5571
http://laniels.org/
PGP key: http://laniels.org/slaniel.key
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.bostoncoop.net/pipermail/linux-disciples/attachments/20050809/1d6370f1/attachment.pgp


More information about the Linux-disciples mailing list