I'd like to write a little command-line tool that cleans up filenames by replacing escaped characters with unescaped equivalents (e.g., replace ' ' with '_'), or by deleting escaped characters altogether. I could approximate this manually -- e.g.,
rename s/\;\'\"\ //g * -- but that's a hack. I'd prefer to ask bash directly, "Which characters do you escape?" Bash would hand me back a list, which I would then use in a script. Is there a way to query bash about which characters it escapes? Surely bash knows this; I'm just curious if there's any way to get that information from it directly. -- Stephen R. Laniel [EMAIL PROTECTED] +(617) 308-5571 http://laniels.org/ PGP key: http://laniels.org/slaniel.key
signature.asc
Description: Digital signature
_______________________________________________ Bug-bash mailing list Bug-bash@gnu.org http://lists.gnu.org/mailman/listinfo/bug-bash