Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 From: Dominique de Waleffe MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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/