Path: csiph.com!goblin1!goblin.stu.neva.ru!usenet.stanford.edu!not-for-mail From: "" Newsgroups: gnu.bash.bug Subject: Re: have read command few first chars. fed by CL Date: Thu, 3 Sep 2020 15:52:49 +0100 Lines: 14 Approved: bug-bash@gnu.org Message-ID: References: <1599144445543-0.post@n7.nabble.com> NNTP-Posting-Host: lists.gnu.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: usenet.stanford.edu 1599144777 18032 209.51.188.17 (3 Sep 2020 14:52:57 GMT) X-Complaints-To: action@cs.stanford.edu To: bug-bash@gnu.org Envelope-to: bug-bash@gnu.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=plushkava.net; h=subject:to:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm3; bh=H iXmKTFL/xmNIZeB/IOMqXZQ3XTwg3pl9EWQS8PJPL4=; b=dIoTW6jVeIldi6LA8 74ecQSx6+U8f8EuKToomu+MzmtELSXZUBoBhwFedFrRKvAJPAWuPIOYidcCa0Evf 21YF3WpEMARs4gfucjArDKcq995VTldVyADhZScLfyXZbiq9qA4TWp6mYHaAzuEf frY8tfihiKLdBss6fT3hdbCWrwydEE0JQCbaQ4oi74bUBcV/Thevt5HlN4qWMs8g eLOEDl2XHZzsiei4R3mftIWiDo/sGYF13xBmbsVhU1phEgZSdUSVCbly4+Vpn8dg Jpe/zC/KGNdnTBXGbhW49zR7z/uZlxcRx91+Az+SzmswsqDhsg395YmTxlvJyIp3 h1ppw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=HiXmKTFL/xmNIZeB/IOMqXZQ3XTwg3pl9EWQS8PJP L4=; b=NQMPK8HrA6z5f4bbnE2dI0iie5LlUBatwur0bsPmagxGIxAyR0E59HIIb EXk1eAmxQVSw4KtaP6ZNeGKK89sar43nOKfCfCp30n2901BfmwUqAy5ey6aHEEob Mhh6k0c900Z0MYLj2tin+XaBhE68Bv4SUdqyst6+NgJNxVN9PPiGmWOZYaiJpTS6 R2rFeWvRqnnBaai2+Zl5mfXjFwzdbgUV+8SONuVXB2qyDalUJzA9LLJqiWhS9AOw azO49Xlqmd6w+BMPJKpv/x0fAFXg3lazHck6S/AoFOvvObPP+NqnnuI8y2Ux4rz4 1xI8iLSndEsNh3IV6md25hibnYKfg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduiedrudeguddgkeefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucgogfhmphhthietlhhirghsucdlvddtmdenucfjug hrpefuvfhfhffkffgfgggjtgfgsehtjeertddtfeejnecuhfhrohhmpedffdcuoehkfhhm sehplhhushhhkhgrvhgrrdhnvghtqeenucggtffrrghtthgvrhhnpeekueekudekvdekgf dvffdvgeegveehgfffhfeuuddtleehtdehvdekkeduudevkeenucfkphepudelfedrudef kedrvddukedrudeltdenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrih hlfhhrohhmpehkfhhmsehplhhushhhkhgrvhgrrdhnvght X-ME-Proxy: User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.2.1 In-Reply-To: <1599144445543-0.post@n7.nabble.com> Content-Language: en-US Received-SPF: pass client-ip=66.111.4.27; envelope-from=kfm@plushkava.net; helo=out3-smtp.messagingengine.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/03 10:52:52 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -44 X-Spam_score: -4.5 X-Spam_bar: ---- X-Spam_report: (-4.5 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FROM_BLANK_NAME=0.723, NICE_REPLY_A=-2.403, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: bug-bash@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Bug reports for the GNU Bourne Again SHell List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Mailman-Original-Message-ID: X-Mailman-Original-References: <1599144445543-0.post@n7.nabble.com> Xref: csiph.com gnu.bash.bug:16886 On 03/09/2020 15:47, almahdi wrote: > > is it possible to have the *read* command few first characters in buffer is > fed by way of script code / CLI From "help read": -N nchars return only after reading exactly NCHARS characters, unless EOF is encountered or read times out, ignoring any delimiter -- Kerin Millar