PIPESTATUS inconsistent behavior in 3.0

2005-08-10 Thread Frank Wang
Configuration Information [Automatically generated, do not change]: Machine: i386 OS: linux-gnu Compiler: i386-redhat-linux-gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i386' -DCONF_OSTYPE='linux-gnu ' -DCONF_MACHTYPE='i386-redhat-linux-gnu' -DCONF_VENDOR='redhat' -DLOCALEDIR='/usr/sh

Querying bash about which characters are escaped

2005-08-10 Thread Stephen R Laniel
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