[Linux-disciples] A function call for escaped characters

Adam Rosi-Kessel adam at rosi-kessel.org
Tue Aug 9 18:52:08 EDT 2005


Stephen R Laniel wrote:
> to simply delete all the escaped characters, but I'll
> probably miss some this way. It would be nice if there were
> a function that tells me which characters bash escapes,
> whence I could just delete all of them at once. Certain
> *bash* knows which characters it escapes; is there any way
> to extract that information from the shell?

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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 254 bytes
Desc: OpenPGP digital signature
Url : http://lists.bostoncoop.net/pipermail/linux-disciples/attachments/20050809/3232a443/signature.pgp


More information about the Linux-disciples mailing list