This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]