Files with '&' in them on *nix
Opened this issue · 3 comments
apamment commented
I've been importing files.bbs files into my bbs, and came across some files with '&' signs in them..
WWIV executes bash to unzip and check for a file_id.diz, but it doesn't seem to escape the & sign so it seems to think it's two commands or something like that.
apamment commented
wwiv commented
Thanks, Can you try editing the unzip command inside of wwivconfig to quote the value after -C and let me know if that does it? If so, I'll make the change in the dist
wwiv commented
quoting both %1 and %2 seem to work
unzip -o -j -C "wwiv424s.zip" "FILE_id.diz"
Archive: wwiv424s.zip
inflating: FILE_ID.DIZ