delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2020/07/27/11:48:21

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9EF93386F002
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1595864857;
bh=CcwfTBECGN62WuuAPk6M5/HPdp0jokEzvZnWU7VN/Wc=;
h=Date:Subject:To:List-Id:List-Unsubscribe:List-Archive:List-Post:
List-Help:List-Subscribe:From:Reply-To:From;
b=lvH2MQXvDUzR+E0Vbh6hHo01iF4XLT2rh7JwBbvdmuA5wb3mnIdHbuhG7vUC+nUhf
aoQ0PfyVvdq5VKO46pIKCTEsPi2TlnfoTf4AmzfJ4fKcIKuYWzSR6C2/u3SfTF95bq
FaQK4UVa0sbcgQtSMaoXjU9RvCM8sfz5jUnGIreI=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org EA6593857C70
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20161025;
h=x-gm-message-state:mime-version:from:date:message-id:subject:to;
bh=nbcK3ckH8CXbKlpjIIoI3d7C2tIdZWT1TIsZ+Cd5R+o=;
b=fO2sLnnXkfs2Apzbm7zugN6CrtmYYg3/9C/Kh83IyPg/N57GXEI9u4QUOJUmyWJeEm
6m+tcA7TKdBOV/HlWuZjIjuefB3UJ5VlHzjf9Xm8qRm6xyoDbi8Pb6IXfpGwWvqGdiHT
4iplJMV5bl+zYMnsiJGzvm6mnN+BmqzMyh2Ngbadp9m+lyoJu8q/oMpJ4uu/z6Jqy7JF
Hcw4cFfirYNW4uHlCteivKIHtEzHKPcGzDTFrYJZLRbrn5pgFO3O7rDEMcoK/Qw1MyDg
5e54ds0E0fHSpRCPNgpsIrx93sQgncWsFUhXqAb0dSgKuxDnPwRbN4KSIKwg2FSVbzY1
bHWQ==
X-Gm-Message-State: AOAM531cnQwHVhqX6BXS1ygIpfSuBgseXnu6hpPI/tEM/s4Eu1gYguGh
egE0U3psx1EshcUxVKkojoV3XWKv/CmJwafcIdBOweo58FU=
X-Google-Smtp-Source: ABdhPJzjQOPsDIvsC4KV3TKJoMSsWuhKTg3BqRNisqBNfcxoIl82zbBcttenRlF/7Dxni698ns7veXiS0WS0oKQIweE=
X-Received: by 2002:adf:97dc:: with SMTP id t28mr19469899wrb.291.1595864852590;
Mon, 27 Jul 2020 08:47:32 -0700 (PDT)
MIME-Version: 1.0
Date: Mon, 27 Jul 2020 11:47:20 -0400
Message-ID: <CAC7Qdh1bPAejJZkV6GY96kcAVKNFDvGcTBpbSfXY6jC-aMGsiQ@mail.gmail.com>
Subject: Problem with output from gawk software in recent Cygwin installation
To: cygwin AT cygwin DOT com
X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_ENVFROM_END_DIGIT,
FREEMAIL_FROM, HTML_MESSAGE, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS,
TXREP autolearn=ham autolearn_force=no version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
server2.sourceware.org
X-Content-Filtered-By: Mailman/MimeDel 2.1.29
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <http://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Bryan VanSchouwen via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Bryan VanSchouwen <vanschbm2 AT gmail DOT com>
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>

Hello.

I just tried executing an awk script using the most recent version of gawk,
but the output did not turn out the way that it was supposed to.

This script uses the following command to print the output data to the
output file:
print(cai[i], rpi[i], i) >
"Fit_Height_correln_plot_-_cPuMP_vs_2NH2-cPuMP.dat"

and previously, this command always printed the values of the three
variables on a single line, separated by spaces; however, now the gawk
software is automatically adding hard-returns between the values, resulting
in the three values being printed on separate lines within the data file.

What is going on here, and how do I permanently make it stop??
--
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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