delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/05/19/11:15:41

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
From: Dominique de Waleffe <ddw AT missioncriticalit DOT com>
MIME-Version: 1.0
Message-ID: <16072.62583.867000.770101@missioncriticalit.com>
Date: Mon, 19 May 2003 17:12:55 +0200
To: cygwin AT cygwin DOT com
Subject: Problem with bash/awk in recent cygwin.

Since I recently upgraded to a reasonably recent version of the cygwin
tools, one of the scripts that I run daily has ceased to work.
I tracked it to the command:

grep WF_XML //NETFINITY/DfsRoot/fse_unsafe/users/pfi/pfisvc-m05-d16.log | igawk -f CleanLogs.awk >statsx.txt

which fails with the following error messsage

gawk: cmd. line:95: (FILENAME=- FNR=293) fatal: error reading input file `-': Permission denied
bash: [2136: 1] tcsetattr: Not a typewriter

Has anyone seen this type of behaviour? Me thinks this is a bug
somewhere... 

If I change the command to use a temporary file, it works. So I have
a work around.

Info:
    Cygwin DLL version info:
        DLL version: 1.3.21
    bash                    2.05b-9
    gawk                    3.1.2-2


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019