From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS,HTML_MESSAGE, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: from zero.zsh.org (zero.zsh.org [IPv6:2a02:898:31:0:48:4558:7a:7368]) by inbox.vuxu.org (Postfix) with ESMTP id BE66E232E6 for ; Tue, 16 Jan 2024 21:38:48 +0100 (CET) ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1705437528; b=CY+ASa1d/bdtBWxc9nhq7B3DNDiPotPnEa+g7avm0zzand1Z36qzsXI27bVUUQli3GardW1RxF m5vJwGmqvrFFDyGXU9UIXvcfkLMmncdP0EK4LTTl0t81La0EslXABnQ8mILYYFXIJqEO6EBcrh 5Z0gt8TtS+JxlSIXX0cSZDgbBgvchtryx1HCuPetFajOPRM3woRXR6TUZtd77A9oJBim7b16d1 yaLK/Gqb/1lOiauFSRKW8b6D856a/i3DsVDoOzdXfyf7K0HPaF5SL3mJKiyQCfmXmyYelFus9H 2qd9QzWApIjpoFeIOTtYxnlouIVKhNZpxOOjFQWWeInypg==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mta02.eastlink.ca) smtp.remote-ip=24.224.136.13; dmarc=none header.from=eastlink.ca; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20210803; t=1705437528; bh=+niDSCRFSO15Esy6sUzbtOc01XAiJZfWm9VW7l0URsI=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:In-Reply-To:From:References:To:Subject:MIME-Version:Date: Message-ID:Content-Type:DKIM-Signature; b=h8hlOAV5XnO7+cNORlMzufRrXnlHvVu12CvyZUUUEwRzIBp3eu+YV9ovqKYw5gAXIs7xVv9qY7 1Us0BoOdiMXZbSCWzcT6HN3JkY9HwuEKM6IiumhdlDn/gyyXu7JOJO4+uF0cFsQCnPM8/Ximzu NLgOGmd8bjax+21FJMxWA30RFJ5hJ8OxfqKhmApdRKIL08dXxgLfaSGJzKGvZPNsF1ZSVFm8Mq sdqlZza3qLYd3BXRfQ5RjhvPWmF90O/rpdTRSPD7y87Om6TaETwX8P65JwJpmMMQBUpoXDkcq0 QRmqngw5ayZGKiwtTZaMXtXrzycMdS8iiJEjXjMUh3kqIQ==; 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:In-reply-to:From:References:To: Subject:MIME-version:Date:Message-id:Content-type:Reply-To:Cc: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=+AwYXlgex2NoOfi81i5MYjVtmn0smQY43zi90gnx6AI=; b=r7cV6KlptjfAC8j6yL+ccTgeGg WjJGAqyX3gOTmby3FjnkxPcPQJa6iizns0UuE37qgD/fupOliueWA88z3Ca5UBnrtHftJ+ONtnZiU ssMW0MqZfE0Fzlo372n9GppYe+ZIwbX1qw7jxTJU2E8IjCdvAluD+pfc+OKdE2h5TNmBM5wWAweEg Ym0QpPrvBxEjCbKJiOWCmvBAoj15aC5XjmuIu7GRs0eravxpBJSG5e68VTKo9kvBxNHM6eTVvyavK bwn/h09Lw6h5qDcWyEciwmF+8V8Mrav8bYVr2Cd3I5XuaCSPvCZ0PxVHdmQWkGfFa/p3Py2o3i215 MMwYaCGQ==; Received: by zero.zsh.org with local id 1rPqCt-000KfO-U4; Tue, 16 Jan 2024 20:38:47 +0000 Authentication-Results: zsh.org; iprev=pass (mta02.eastlink.ca) smtp.remote-ip=24.224.136.13; dmarc=none header.from=eastlink.ca; arc=none Received: from mta02.eastlink.ca ([24.224.136.13]:59369) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_128_GCM_SHA256:128) id 1rPqCW-000Jy7-HT; Tue, 16 Jan 2024 20:38:24 +0000 Received: from csp01.eastlink.ca ([71.7.199.166]) by mta02.eastlink.ca ([24.224.136.13]) with ESMTPS id <0S7D0ME8BFXVAGC1@mta02.eastlink.ca> for zsh-users@zsh.org; Tue, 16 Jan 2024 16:38:23 -0400 (AST) Received: from [192.168.0.11] (host-24-207-19-13.public.eastlink.ca [24.207.19.13]) by csp01.eastlink.ca ([71.7.199.166]) with ESMTPSA id PqCUr5xPxAItUPqCVrFdKe (version=TLSv1_2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256); Tue, 16 Jan 2024 16:38:23 -0400 X-Authority-Analysis: v=2.4 cv=NJYTuW2g c=1 sm=1 tr=0 ts=65a6e93f a=e7T7DzMKK1R988ZCg0wLyw==:117 a=e7T7DzMKK1R988ZCg0wLyw==:17 a=r77TgQKjGQsHNAKrUKIA:9 a=jfAYuSSSVehNmr8OsYcA:9 a=QEXdDO2ut3YA:10 a=pGLkceISAAAA:8 a=p46D0fB_VNgYtsc51yEA:9 a=_W_S_7VecoQA:10 X-Vade-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrvdejfedgudegtdcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfgtefuvffnkffpmfdpqfgfvfenuceurghilhhouhhtmecufedttdenucenucfjughrpegtkfffgggfuffvfhfhjgesrgdtreertddvjeenucfhrhhomheptfgrhicutehnughrvgifshcuoehrrgihrghnughrvgifshesvggrshhtlhhinhhkrdgtrgeqnecuggftrfgrthhtvghrnhephfettefhveeguedvleeggfdvvedufeeuudffvdfgledvvdfgtdeigeeuueelieefnecukfhppedvgedrvddtjedrudelrddufeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpedvgedrvddtjedrudelrddufedphhgvlhhopegludelvddrudeikedrtddruddungdpmhgrihhlfhhrohhmpehrrgihrghnughrvgifshesvggrshhtlhhinhhkrdgtrgdpnhgspghrtghpthhtohepvddprhgtphhtthhopeerredprhgtphhtthhopeiishhhqdhushgvrhhsseiishhhrdhorhhgpdhgvghtqdgkihhprfgrshhsfigupehtrhhuvg X-Vade-Score: 0 X-Vade-State: 0 X-EL-AUTH: rayandrews@eastlink.ca Content-type: multipart/alternative; boundary="------------O4zFZd2ul0udrA3HDQ8YLflt" Message-id: <044f3b8b-f3f1-42f1-9088-459ab827982f@eastlink.ca> Date: Tue, 16 Jan 2024 12:38:22 -0800 MIME-version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Slurping a file Content-language: en-US To: zsh-users@zsh.org References: <205735b2-11e1-4b5e-baa2-7418753f591f@eastlink.ca> <954cdcf5-5cf5-4734-9040-f937950c4af4@eastlink.ca> From: Ray Andrews In-reply-to: X-Seq: 29505 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: This is a multi-part message in MIME format. --------------O4zFZd2ul0udrA3HDQ8YLflt Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 2024-01-16 12:14, Roman Perepelitsa wrote: > When I see "slurp", I know exactly what it does: reads a full file > into a string. If you don't get the same immediate reaction, you > really should: google "file slurp" and see that it's the way this > facility is called in many programming languages. > > Now that "slurp" is taken by an unrelated command, "zslurp" is an > obvious alternative So it is.  Not 'zlurp' but 'zslurp' -- that fixes it.  Besides, it's your baby and you should make the call. --------------O4zFZd2ul0udrA3HDQ8YLflt Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit


On 2024-01-16 12:14, Roman Perepelitsa wrote:
When I see "slurp", I know exactly what it does: reads a full file
into a string. If you don't get the same immediate reaction, you
really should: google "file slurp" and see that it's the way this
facility is called in many programming languages.

Now that "slurp" is taken by an unrelated command, "zslurp" is an
obvious alternative

So it is.  Not 'zlurp' but 'zslurp' -- that fixes it.  Besides, it's your baby and you should make the call.



--------------O4zFZd2ul0udrA3HDQ8YLflt--