From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7287 invoked by alias); 25 Nov 2011 14:32:28 -0000 Received: (qmail 7278 invoked by uid 22791); 25 Nov 2011 14:32:27 -0000 X-SWARE-Spam-Status: No, hits=-2.2 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org Received: from mail-qy0-f171.google.com (HELO mail-qy0-f171.google.com) (209.85.216.171) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 25 Nov 2011 14:32:14 +0000 Received: by qyk29 with SMTP id 29so409309qyk.2 for ; Fri, 25 Nov 2011 06:32:13 -0800 (PST) MIME-Version: 1.0 Received: by 10.229.92.2 with SMTP id p2mr3765973qcm.222.1322231533591; Fri, 25 Nov 2011 06:32:13 -0800 (PST) Received: by 10.229.104.201 with HTTP; Fri, 25 Nov 2011 06:32:13 -0800 (PST) In-Reply-To: <20111125142152.GK23778@calimero.vinschen.de> References: <20111125142152.GK23778@calimero.vinschen.de> Date: Fri, 25 Nov 2011 14:48:00 -0000 Message-ID: Subject: Re: tail/head not working with a pseudoterminal From: Csaba Raduly To: cygwin@cygwin.com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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 X-SW-Source: 2011-11/txt/msg00391.txt.bz2 On Fri, Nov 25, 2011 at 3:21 PM, Corinna Vinschen wrote: > On Nov 25 16:03, Costin Caraivan wrote: ... >> Also head fails with: >> Pseudo-terminal will not be allocated because stdin is not a terminal. >> bash: /cygdrive/c/apps/activeperl/bin/head: /usr/bin/perl: bad >> interpreter: Permission denied > > You're running the wrong head command. =A0This is some activestate perl > script, not the Cygwin head tool from coreutils. =A0Change your $PATH > to find the Cygwin apps first. It's HEAD from lwp-request: http://search.cpan.org/~gaas/libwww-perl-6.03/bin/lwp-request Found unfortunately due to case-insensitive NTFS. Costin, try /usr/bin/head explicitly. Csaba --=20 GCS a+ e++ d- C++ ULS$ L+$ !E- W++ P+++$ w++$ tv+ b++ DI D++ 5++ The Tao of math: The numbers you can count are not the real numbers. Life is complex, with real and imaginary parts. "Ok, it boots. Which means it must be bug-free and perfect. " -- Linus Torv= alds "People disagree with me. I just ignore them." -- Linus Torvalds -- 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