From nobody Wed Feb 22 15:56:36 2023 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4PMLPQ4g1vz3t80d for ; Wed, 22 Feb 2023 15:56:42 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mout.kundenserver.de (mout.kundenserver.de [217.72.192.73]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mout.kundenserver.de", Issuer "TeleSec ServerPass Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PMLPP2l5qz3wYm for ; Wed, 22 Feb 2023 15:56:41 +0000 (UTC) (envelope-from freebsd@edvax.de) Authentication-Results: mx1.freebsd.org; dkim=none; spf=none (mx1.freebsd.org: domain of freebsd@edvax.de has no SPF policy when checking 217.72.192.73) smtp.mailfrom=freebsd@edvax.de; dmarc=none Received: from r56.edvax.de ([178.12.32.157]) by mrelayeu.kundenserver.de (mreue107 [212.227.15.183]) with ESMTPA (Nemesis) id 1M1ZQT-1pWm5v2c6F-0035PS; Wed, 22 Feb 2023 16:56:36 +0100 Date: Wed, 22 Feb 2023 16:56:36 +0100 From: Polytropon To: Sysadmin Lists Cc: Freebsd Questions Subject: Re: BSD-awk print() Behavior Message-Id: <20230222165636.b00367e1.freebsd@edvax.de> In-Reply-To: <1200764932.226141.1676981164445@ichabod.co-bxl> References: <1600449078.170379.1676939080787@fidget.co-bxl> <1653727721.225143.1676980394881@ichabod.co-bxl> <1200764932.226141.1676981164445@ichabod.co-bxl> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:KlneB7BD01hRRq+Cm63tHgDCcgdlDS5PWYMk6fYLuxo/cA5J26W HRJbQEQaj6gUuFohqFa5870i3qmC0xVt4XUmtXSq8Za3Fuj4wIj1ab+uNSxepdaZAx04uOx znPR0BJOPCOKWI6vP+xzDm8ns1IfWnx1aAdrHAbHfi0aU3FQ6r47ye3IiRl+dfH3b3AHyxA RXDvfV5ah0WXd8V6wEgqQ== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:rkaE8NpaQpw=;xZ1zYC9S0uExITUuJwAOGo57/d7 15jBwXYiN9XZzJxLAPomibKtUAYYHXDFqcNhws18h2FJR1bYgzg0Tqk5GmO43/HEcqI75EQ1j TIB+h5JXHsahqZkMNI3aqPvcuY30Q3O3Kk+9+w/gbVuSdksdAIoOo+xy1oywF4kEOMIVInEgv rg9jWpkPOsD5LCDnLj78kIYq2+DaogAVujHfspU3Uo0J8i4p6pn1fp16RT/1m9bDUMx0zW51s tK1hh7CzkHpwY7SP2jCmnySXQ0HOCoZN67i/W2kdbxdZWZHnL+wjq7XOwYhii305YyCxdTWLw fyiMUGhst5p/c391sGSCzmsT70h4loQHjAvj6tn86A1wz87dq9yFGqHypOsbg0WrVUjUCp1WD q/KpSY4a/5bSJgRusvsZUqPV6RjA5ePipGlvBoa2vlEQva9H02uZRvaHng/Iw3yCRKXkkDNTJ AnwNRU9Fz7s/8IefiEMpeGyqfoKZrKWGRJTVm0uoLh/D3fQT4EpmMPGrsf6Ji39/o7R/nCa7x QYfXzlfVCiw27K76hM2UfRZUAahFg3t+QSYCSQHxLbzSQHhqupC6Jm89bqG+hn08wHA/2I7MO R/ggaqlJ4PNvYQ5cJgXeTHF6gndv6xX2CERtIzudNkPXgzkgszIl6GcXZBD2LukpgJhP6B7eC vF95Mfsw9UJR3sf2C3CtaUoaYTHfwdUj2XcK5KYeQQ== X-Spamd-Result: default: False [-0.59 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; AUTH_NA(1.00)[]; MID_CONTAINS_FROM(1.00)[]; NEURAL_HAM_SHORT(-0.99)[-0.994]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[text/plain]; R_SPF_NA(0.00)[no SPF record]; DMARC_NA(0.00)[edvax.de]; RCVD_IN_DNSWL_NONE(0.00)[217.72.192.73:from]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MLMMJ_DEST(0.00)[freebsd-questions@FreeBSD.org]; FROM_HAS_DN(0.00)[]; REPLYTO_EQ_FROM(0.00)[]; HAS_REPLYTO(0.00)[freebsd@edvax.de]; ARC_NA(0.00)[]; TO_DN_ALL(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; HAS_ORG_HEADER(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[217.72.192.73:from]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:8560, ipnet:217.72.192.0/20, country:DE]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Queue-Id: 4PMLPP2l5qz3wYm X-Spamd-Bar: / X-ThisMailContainsUnwantedMimeParts: N On Tue, 21 Feb 2023 13:06:04 +0100 (CET), Sysadmin Lists wrote: > (Now that I think of it, the carriage-returns are inserted by the web browser > of course.) If you encounter more unneeded CRs, using ... | tr -d '\n' | ... in your preprocessing step is very easy _and_ helpful. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...