Groups | Search | Server Info | Keyboard shortcuts | Login | Register


Groups > gnu.bash.bug > #16886

Re: have read command few first chars. fed by CL

Path csiph.com!goblin1!goblin.stu.neva.ru!usenet.stanford.edu!not-for-mail
From "" <kfm@plushkava.net>
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 <mailman.2204.1599144776.2469.bug-bash@gnu.org> (permalink)
References <1599144445543-0.post@n7.nabble.com> <aedd1237-350b-e9ea-0e07-58c4d0627ff6@plushkava.net>
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 <xms:QwNRX8IUCSGz19h97zK759A374d3G1enig4ouoE3_Ob_ZkJl5awmwQ> <xme:QwNRX8I-UuD6pom5tNaeMjO0pe48nj90PSk7jAD-PwUJmWUfa0EsOotR0P6mCb3r8 yRhVg3hmrnQs94V>
X-ME-Proxy-Cause gggruggvucftvghtrhhoucdtuddrgeduiedrudeguddgkeefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucgogfhmphhthietlhhirghsucdlvddtmdenucfjug hrpefuvfhfhffkffgfgggjtgfgsehtjeertddtfeejnecuhfhrohhmpedffdcuoehkfhhm sehplhhushhhkhgrvhgrrdhnvghtqeenucggtffrrghtthgvrhhnpeekueekudekvdekgf dvffdvgeegveehgfffhfeuuddtleehtdehvdekkeduudevkeenucfkphepudelfedrudef kedrvddukedrudeltdenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrih hlfhhrohhmpehkfhhmsehplhhushhhkhgrvhgrrdhnvght
X-ME-Proxy <xmx:QwNRX8tcn3UI6sdD6O3x5XKT2VypJQvz7gBH0SDaKDSQDpVMNrg7iw> <xmx:QwNRX5ZQQBywL0gtzf30l0R7Nn79z1vAtXtJBIoC3xdeejDKirxIog> <xmx:QwNRXzbYVGpwjcLgoExCwY-i03g_SaIjwSGGzvAYvxU2VODGEFk4Kw> <xmx:QwNRX8mVavCfLs4dyWZneMsSZ-pxwqiez2wwdANyFxD7kqWh0z7THA>
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 <bug-bash.gnu.org>
List-Unsubscribe <https://lists.gnu.org/mailman/options/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=unsubscribe>
List-Archive <https://lists.gnu.org/archive/html/bug-bash>
List-Post <mailto:bug-bash@gnu.org>
List-Help <mailto:bug-bash-request@gnu.org?subject=help>
List-Subscribe <https://lists.gnu.org/mailman/listinfo/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=subscribe>
X-Mailman-Original-Message-ID <aedd1237-350b-e9ea-0e07-58c4d0627ff6@plushkava.net>
X-Mailman-Original-References <1599144445543-0.post@n7.nabble.com>
Xref csiph.com gnu.bash.bug:16886

Show key headers only | View raw


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

Back to gnu.bash.bug | Previous | Next | Find similar


Thread

Re: have read command few first chars. fed by CL "" <kfm@plushkava.net> - 2020-09-03 15:52 +0100

csiph-web