X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:date:message-id:subject:from:to :content-type; q=dns; s=default; b=Ymz9DstLSmXt/2vK3JOilh7xf5Qkt NTEuv4cdiHj+OuMk1fklKmd0o6ofgEuxTK09sEk0dqR49XrIwj9d7xXwAm8bOPg9 p/tUyb7UpVKX/aLhxLWgWr4QeRUtVjPEsnDOtr+kO9t6d569IXsCvU7/39b/Sqwq NVReOJP9ySs3FA= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:date:message-id:subject:from:to :content-type; s=default; bh=NDjfqw15JiDmAxs6mwr1KEIDhno=; b=mCc qboCug7n0GSTqWZlyva0EnjKiVFWS+c6xEZLwfvT9rS5XgI4wAFvGOaNZ7MYChVp tyB9QQ4Q3lCXbVS3AyL7YZwJtATvKbog4yuDmMs7NLR9LaiBkNhs8heOYv62Ux5d qBdWLf0KUX7ENz3C3VMK6E2IcaFLAlJujsLZNsCs= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.9 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-oa0-f66.google.com MIME-Version: 1.0 X-Received: by 10.182.28.195 with SMTP id d3mr45412267obh.19.1400017781995; Tue, 13 May 2014 14:49:41 -0700 (PDT) Date: Tue, 13 May 2014 21:49:41 +0000 Message-ID: Subject: wget-1.15-1 vx wget-1.13-4, LANG and cron From: First Last To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=UTF-8 I had trouble when I updated to wget-1.15-1. I have a cron script that grabs a camera picture using wget. It failed with the new wget-1.15-1. 1) wget stderr has a line: Saving to: 'filename' In wget-1.13.4-1 the delimiter before the filename is a backtick and after the filename there is a single quote. Also if the URL contains a the filename has a . In wget-1.15-1 both delimiters are single quotes, at least with LANG=C. A space in the URL results in a "%20" in the filename. 2) wget-1.15-1 is more sensitive to LANG etc. When I ran the repaired script from bash it worked fine, but under cron without setting LC_ALL or LANG the wget-1.15-1 stderr output filename delimiters were wide characters. Setting export LC_ALL=C LC_CTYPE=C LANG=C at the top of the cron script returned the single quote delimiters. Working fine now. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple