Article View: comp.lang.pl1
Article #29Re: Read entire line from SYSIN
From: Peter Flass
Date: Sat, 24 Oct 2026 14:41
Date: Sat, 24 Oct 2026 14:41
18 lines
1795 bytes
1795 bytes
On 10/24/26 07:28, David Meyer wrote: > Is there a way to read an entire line from SYSIN into a character string > variable without breaking the string into fields on space/tab/comma? > > Alternatively, is there a way find if the last-parsed input field ended > with a carriage return, and therefore was the last field on the current > input stream line? > From somewhere I got the L format item, which will read the complete rest of an input line. get:proc options(main); dcl s char(80) varying; get edit(s)(L); put skip list(s); end get;
Technical Details
Message-ID:
<11big2t$2ppqq$1@dont-email.me>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mailReferences:
<87wlr7895y.fsf@localhost>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail From: Peter Flass <Peter@Iron-Spring.com> Newsgroups: comp.lang.pl1 Subject: Re: Read entire line from SYSIN Date: Sat, 24 Oct 2026 07:41:31 -0700 Organization: A noiseless patient Spider Lines: 18 Message-ID: <11big2t$2ppqq$1@dont-email.me> References: <87wlr7895y.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Sat, 24 Oct 2026 14:41:34 +0000 (UTC) Injection-Info: dont-email.me; logging-data="2942810"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18SZNEkX0zY6DvHyT+dI0n0"; posting-host="a1fe4b1e0ebbecf3dda24198ecd68c02" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:yo+HVG3tfT2dUSdZjz2s63CZjuA= sha256:sjnITjKQZg5Pf8hSPz4SnNAeHkN1HYVUysB618QoRMw= sha1:zgMPjujZGL6ZeS6czDs6w9yDMAs= sha256:MimLRebKoZvE1ZJikVR9X+P9DgOMPWnquf2IrgehPBc= In-Reply-To: <87wlr7895y.fsf@localhost> Content-Language: en-US