From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.3 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,T_SCC_BODY_TEXT_LINE, UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 28574 invoked from network); 15 Aug 2022 21:48:59 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 15 Aug 2022 21:48:59 -0000 ARC-Seal: i=2; cv=pass; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1660600139; b=LvTTJazxKJMXVPYr3MWL6sTQ9cVWcBGeltznfHMWppY58wMP0Vk+dK3eYhjNQC/3WvZ40HN+l/ WPxYVEFfvchwW3KhrrJFz4Y+f0/SEdwcnAxPn9KAMKol1I0TFm1noo0RmgfIbwyO+SFaevg3n4 Cw1LurjS9+8UNHu2j0bQS96w6nfWR3kvvPmKudTwpxnBgx4okwFplaOpykA9yR0puQI2nozknr X3b17xdlzuNtbPZXc9gir8SbSNS6cZCRvuPLd66DP0pzlGQ+svzDEJYzooikPqNwDJ4R/fZLd+ WnW06K2G03yT0MmbC/KN+MvO51eYZwDhyqTaQ8RyWtSgjQ==; ARC-Authentication-Results: i=2; zsh.org; iprev=pass (cross.elm.relay.mailchannels.net) smtp.remote-ip=23.83.212.46; dkim=pass header.d=easesoftware.com header.s=default header.a=rsa-sha256; dmarc=none header.from=easesoftware.com; arc=pass (i=1) header.s=arc-2022 arc.oldest-pass=1 smtp.remote-ip=23.83.212.46 ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20210803; t=1660600139; bh=oZ57yGN3jwIk7sh7X4klH7ZZBPop9G1PPxqDP0XKlyM=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:To:References:Message-ID:Cc:Date:In-Reply-To:From:Subject: MIME-Version:Content-Type:DKIM-Signature:DKIM-Signature; b=BhW+hdMH4/9LTfGgEeH/f0P4N16+CjNtxmeSgmDZoN5EQZC2zOOmNAD3Zn3bZwGe1EaDzYsjph 01WdtYxi2qvG1NtmSu9RbcZ1K2IjVZ4HrWOUwfSAhCn1yk/K10+9o3ZlppMT5YtzgLB3VhPMjW 2+YSL8/a+4XD9C0R6JJyqFwxR/iTMogtZfaEm6YbbyLopH2DJoOv8DJHJuc0MtaVOjpc8alKY7 alUWBT8Ure6YIMiOAkQ1Jx/UPVbdKEVOCs3pmbrACyaUfVS28nFpMKt69A9fdACiuzI3M7pItv IjCXPrqHW6WPsM5mIHLa4De2szrTTnQHBmlyGk0BDe0HWg==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zsh.org; s=rsa-20210803; h=List-Archive:List-Owner:List-Post:List-Unsubscribe: List-Subscribe:List-Help:List-Id:Sender:To:References:Message-Id:Cc:Date: In-Reply-To:From:Subject:Mime-Version:Content-Type:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=giVA3VSB9BQ7ZMYSAMl51SUClJyRq0wrAQ39Yba4BvQ=; b=JFGnXLh/OJXV0ZalOhJxiB10w6 Y4Q9Ljakfc7EGZbT+UE5+4944PFwG0RSOeLRYLuId33thvPq5L3LkEuf8UWNMLprU19C8UhgKr3/E uk8uZaRAL0e0Xm7srRg8MvZbIMek0HzQef10t3/zEs6vN7CHsMn1YbwV/kIjAeeLK05y856Uhq8gp ejV+lobiy5kN8RBocNENBTHjKS1iIPNcWe7lTlDGJKt+ilJgzW6M8uEIHNin+FR71lIJy3KQCBIbz lZov7n6gC9r6ptjO0LgRTBwTPMgNGe1tm91pzrexMVsWSR1QHORKaj+i5ChnkMchN2DEuHhlkKgYd XHGv0gaA==; Received: from authenticated user by zero.zsh.org with local id 1oNhxD-000DE7-M1; Mon, 15 Aug 2022 21:48:59 +0000 Authentication-Results: zsh.org; iprev=pass (cross.elm.relay.mailchannels.net) smtp.remote-ip=23.83.212.46; dkim=pass header.d=easesoftware.com header.s=default header.a=rsa-sha256; dmarc=none header.from=easesoftware.com; arc=pass (i=1) header.s=arc-2022 arc.oldest-pass=1 smtp.remote-ip=23.83.212.46 Received: from cross.elm.relay.mailchannels.net ([23.83.212.46]:20252) by zero.zsh.org with esmtps (TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256) id 1oNhw8-000CUf-6R; Mon, 15 Aug 2022 21:47:52 +0000 X-Sender-Id: a2hosting|x-authuser|pedz+easesoftware.com@mi3-ss4.a2hosting.com Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id F0A2A1214DE; Mon, 15 Aug 2022 21:47:49 +0000 (UTC) Received: from mi3-ss4.a2hosting.com (unknown [127.0.0.6]) (Authenticated sender: a2hosting) by relay.mailchannels.net (Postfix) with ESMTPA id 55054121CF4; Mon, 15 Aug 2022 21:47:49 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1660600069; a=rsa-sha256; cv=none; b=QEeedtG/narJlnJa8RteUIzQ/ri+Twx9n23cS3+VzrPUjUpFNOQFIrCRMTO7KHvTqzuicr MI+OOFBJBtuJLD7x9fpSsxsXMa0cTbX87p9rda6EFU5XO3sh4fFNikfKJ62BeCM2ImoFcx LwQJrMKHb2IfRi4SZA/1I7SIIcm+AHN6UTWk7exgheEspL5e5DPt+OHmxmt4oD+bMU+M+0 40L21ThWufRZMPFhYgL366nFbcUMruZoqA5y0d9r+OY2Qktom3ohFWNfdTAKDRsVuXzWtm A3rSJberLc43iPWvvVijG0HXgL/qHb1RNLUpFbWX12aGU5G2v46/HIvpOux8+A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1660600069; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references:dkim-signature; bh=giVA3VSB9BQ7ZMYSAMl51SUClJyRq0wrAQ39Yba4BvQ=; b=ANL9wqa8/XN2ZY59WICxZiPqLZKOt4m/6cFrauW8r7BGLlqYI49kgZdxL6D5LVNglSkfcd KpzARi/98gXNV/fJSKg146kv31S+P+mfc3vKnyykYmdwTBX5/dPKv8RGYMq1OJ0WZKVI6o UHMLJFJRWOCVEuvb72h7jXFA7ni3YK30pQyKVWL5LM5GmhmEJQl15C4vslIRP8viP98Fdt vWkvWJnZQnT9wsxwus4EF7VnDhHdXEKZeQGM/7+bF6iVrwqexRDQQ65crSkpdRoaN3at3H UXucfzGu83jB5L6bhSlpO8jLhXOfCXWfU4tOnDtcH9SI4NJ75i5tlMr/s/Xg9A== ARC-Authentication-Results: i=1; rspamd-7697cc766f-6jztr; auth=pass smtp.auth=a2hosting smtp.mailfrom=pedz@easesoftware.com X-Sender-Id: a2hosting|x-authuser|pedz+easesoftware.com@mi3-ss4.a2hosting.com X-MC-Relay: Neutral X-MailChannels-SenderId: a2hosting|x-authuser|pedz+easesoftware.com@mi3-ss4.a2hosting.com X-MailChannels-Auth-Id: a2hosting X-Bitter-Plucky: 183aa25d7f5e9711_1660600069743_3070705055 X-MC-Loop-Signature: 1660600069743:1910543824 X-MC-Ingress-Time: 1660600069743 Received: from mi3-ss4.a2hosting.com (mi3-ss4.a2hosting.com [68.66.200.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384) by 100.108.161.77 (trex/6.7.1); Mon, 15 Aug 2022 21:47:49 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=easesoftware.com; s=default; h=To:References:Message-Id:Cc:Date:In-Reply-To :From:Subject:Mime-Version:Content-Type:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=giVA3VSB9BQ7ZMYSAMl51SUClJyRq0wrAQ39Yba4BvQ=; b=l91h42yf41ekDYPjmucj2EvMvd worYcYhbNTvj5crnCdlPHiDDrM+shRcAaSAVanPmH8A4TL1/4YGsvtemwTJ0RGv8gHFZ33mJU8b56 Voh9rq+o5VQU0pRp+35zAqfuBO5tDuEcPhP7iNjpbv+vMLzw+bZKmeSDfMaImMlKc2TVjSQWhxvFH lPf3vw3wanTrJ9u/KKPJCtgQFkfhRgQ7xhOB2uhcOYGXC941jpoMKTzWj86JeN1FV+OBWL9uFEeFx JO/P3tTgNda1jrFOGsPF1LwRGubO/iprpZ67eO86Qkmrey+2BFbR/R9krUD8gP20K8Jgyg0vqSTS5 K3e1HWIg==; Received: from cpe-70-94-128-193.satx.res.rr.com ([70.94.128.193]:56805 helo=smtpclient.apple) by mi3-ss4.a2hosting.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1oNhw4-00047r-34; Mon, 15 Aug 2022 17:47:48 -0400 Content-Type: multipart/signed; boundary="Apple-Mail=_55F6C998-BCFD-4AE5-9799-8EEF5F53A964"; protocol="application/pgp-signature"; micalg=pgp-sha256 Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.1\)) Subject: Re: Looking for sage advice From: Perry Smith In-Reply-To: Date: Mon, 15 Aug 2022 16:47:47 -0500 Cc: Zsh-Users List Message-Id: <14DE1394-B69C-4702-B438-45B511202362@easesoftware.com> References: <1A03F8D3-45EB-41B4-BD7A-0A12DE5B7C85@easesoftware.com> To: Felipe Contreras X-Mailer: Apple Mail (2.3696.120.41.1.1) X-AuthUser: pedz+easesoftware.com@mi3-ss4.a2hosting.com X-Seq: 27958 Archived-At: X-Loop: zsh-users@zsh.org Errors-To: zsh-users-owner@zsh.org Precedence: list Precedence: bulk Sender: zsh-users-request@zsh.org X-no-archive: yes List-Id: List-Help: List-Subscribe: List-Unsubscribe: List-Post: List-Owner: List-Archive: --Apple-Mail=_55F6C998-BCFD-4AE5-9799-8EEF5F53A964 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > On Aug 15, 2022, at 16:42, Felipe Contreras = wrote: >=20 > On Mon, Aug 15, 2022 at 4:04 PM Perry Smith = wrote: >>=20 >> I want to write =E2=80=9Csomething=E2=80=9D that effectively does >>=20 >> function xlargs >> { >> tr =E2=80=98\n=E2=80=99 =E2=80=98\0=E2=80=99 | xargs -0 $* >> } >>=20 >>=20 >> Would you recommend doing this as an autoload function or as an = alias? The reason I ask is because back when I used bash and something = called rvm, all of my aliases proved to be a horrible wrench for their = bash shell scripts. So I=E2=80=99ve sorta sworn off of aliases but = I=E2=80=99m wondering if that is imprudent. >=20 > If you are doing multiple commands I would do a function, but I wonder > what's the point of this when you can do: xargs -d '\n' $* Thank you. It appears that neither macOS nor Free BSD have the -d option. I see it = in the Linux documentation but, yes, that is exactly what I=E2=80=99m = needing. --Apple-Mail=_55F6C998-BCFD-4AE5-9799-8EEF5F53A964 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEE5yOa/gCtQpb3oCpljxzk9yzE+MAFAmL6vwMACgkQjxzk9yzE +MA9NQ//RvIKL5jFHvFsppG+LrL6xasIKOz5jjvasHjZOPwghIhe/o+QF3TLMEbG L5l1mM4rqWBxY07hpXsobulEmZm/XLvRutiXWUlwflxDES1S7OstH8IRmZnw3pdr 9Az2VEqJk1peQh4idm/T2cqS3zlMj9j7UqkhH61EtKsv0loOgxtBlMw0fQX1lq9l Q+esndj6Xv7WynkShNtaQ4VyzFFeZEFMpLP7odMhjaKONa2eb4ekLq9YeYnLHgbz ZegFDKLHPGjofg0LaN//NEKsmRjnf4WeLcbephe0NuU1XHvaeDVwDt4/Rpi/fqvo cn04nLpxkFST94zynJkthkxaXAshQHPfR4bS3cQO5bW+eNeqYFjqSlZabu55p5uG Sde3Ds/lx9FSUZL/+dFFAu/urEUnvulWGt8slw1IKod1zfbjcYOJ3fiVuyCB0j2k Wd/szXUX4sgXuvY0SeEzk7eCmqatDXrn2Txp9XBeBgdfXzfjyt4dO3pyq5NbEa+c ykHFt66/tItF8y8gCeDkBdbD4MChw1DpwjyP1ibPSPRN5yjWpgVRYayePTYs0BGv /3JtjYikmWk3gFvecwTRohL0/vkPQRDw+E52E0hQGHcYdlkbE02nefRhzTAFTQqM 3HIVD2JjZrWBzqu8Ro1DZFTcz2WqxRA5KdIpvpSmcIepXdhuey4= =9pgW -----END PGP SIGNATURE----- --Apple-Mail=_55F6C998-BCFD-4AE5-9799-8EEF5F53A964--