From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 125290 invoked by alias); 27 Jun 2017 21:42:20 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 125229 invoked by uid 89); 27 Jun 2017 21:42:20 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 spammy=maker X-HELO: smtp-out-so.shaw.ca Received: from smtp-out-so.shaw.ca (HELO smtp-out-so.shaw.ca) (64.59.136.138) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 27 Jun 2017 21:42:18 +0000 Received: from [192.168.1.100] ([24.64.240.204]) by shaw.ca with SMTP id PyFTdFJ2nyd2DPyFUdvwnX; Tue, 27 Jun 2017 15:42:16 -0600 X-Authority-Analysis: v=2.2 cv=F5wnTupN c=1 sm=1 tr=0 a=MVEHjbUiAHxQW0jfcDq5EA==:117 a=MVEHjbUiAHxQW0jfcDq5EA==:17 a=IkcTkHD0fZMA:10 a=fHiubOz4_dUmsPLydUUA:9 a=QEXdDO2ut3YA:10 Reply-To: Brian.Inglis@SystematicSw.ab.ca Subject: Re: Window Maker issues, launching from cygwin To: cygwin@cygwin.com References: From: Brian Inglis Message-ID: <1adcd353-b759-d423-3612-78b88a1fa7e1@SystematicSw.ab.ca> Date: Tue, 27 Jun 2017 21:42:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-CMAE-Envelope: MS4wfEF0NqTO277+1z3Hwl0ugMJ20bMXg2XVJZKmcsB3x2bfWpkYigUp2WW3srLnUA/OCuLZZWy4rmvB/RJyFMlxE1hcBihDCUIqMTxyoN1TvwiBnz9+0WIP pPxGWavtAsdCEIn5vJfBJeNMuN3drQKxIe9qPJYuz6piFYMQndGPP/S0rT4+wObPrsOxjbOKHtYGfg== X-IsSubscribed: yes X-SW-Source: 2017-06/txt/msg00373.txt.bz2 On 2017-06-27 14:05, David DLC wrote: > /etc/X11/xinit/xinitrc-common: line 20: [: too many arguments > Excessive file argument "Cruz/.Xresources" > 1 error in preprocessor. > /etc/X11/xinit/xinitrc: line 20: [: too many arguments Fix the above two lines 20 in /etc/X11/xinit/xinitrc{,-common} by adding double quotes around the string containing $HOME, which might be like the lines below, from the only system script I could find containing $HOME, where the whole file name is double quoted, including the embedded $HOME: $ fgrep '$HOME' /etc/profile.d/bash_completion.sh [ -r "${XDG_CONFIG_HOME:-$HOME/.config}/bash_completion" ] && \ . "${XDG_CONFIG_HOME:-$HOME/.config}/bash_completion" If your scripts are similar, such as: [ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources then you need to double quote both the test and use as in: [ -r "$HOME/.Xresources" ] && xrdb "$HOME/.Xresources" and do the same kind of change in both files. Many admins, packages, and distros have already made these kinds of fixes, as more people are using Windows or Mac based home directories which may have "friendlier" names, served up by Samba, CIFS, or NFS. -- Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada -- 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