Oskar Hermansson wrote: > Bash Version: 3.2 > Patch Level: 48 > Release Status: release > > Description: > bash crashes when running the following wget command for downloading a > file: > wget > http://www.kohanaphp.com/download?modules%5Bauth%5D=Auth&vendors%5Bmarkdown%5D=Markdown&languages%5Ben_US%5D=en_US&format=zip > > If the command is placed in a file instead, the file is successfully > downloaded: > wget `cat url.txt` > > The first wget command does not make for example "sh" crash. > > My wget version (if relevant): GNU Wget 1.11.4 > > Repeat-By: > 1. wget > http://www.kohanaphp.com/download?modules%5Bauth%5D=Auth&vendors%5Bmarkdown%5D=Markdown&languages%5Ben_US%5D=en_US&format=zip > 2. bash crashes
How does bash crash? Does it exit on a fatal signal, or dump core? You're running three commands here, since the URL is unquoted and contains two `&' characters. Chet -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, ITS, CWRU c...@case.edu http://cnswww.cns.cwru.edu/~chet/