Article View: comp.lang.pl1
Article #26Read entire line from SYSIN
From: David Meyer
Date: Sat, 24 Oct 2026 14:28
Date: Sat, 24 Oct 2026 14:28
11 lines
1435 bytes
1435 bytes
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? -- David Meyer Takarazuka, Japan papa@sdf.org
Technical Details
Message-ID:
<87wlr7895y.fsf@localhost>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-mailShow 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: David Meyer <papa@sdf.org> Newsgroups: comp.lang.pl1 Subject: Read entire line from SYSIN Date: Sat, 24 Oct 2026 23:28:41 +0900 Organization: A noiseless patient Spider Lines: 11 Message-ID: <87wlr7895y.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Injection-Date: Sat, 24 Oct 2026 14:19:01 +0000 (UTC) Injection-Info: dont-email.me; logging-data="2920281"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+sP+jJRbv3QSQqRsyCvV9s"; posting-host="aa9e3fded0fa5e2815de78bbdb6d16b7" User-Agent: Gnus/5.13 (Gnus v5.13) Cancel-Lock: sha1:gstq+CBM4LMuMCZcBMYGfmcoB/4= sha1:AHwvDaLygE6kDyYJ5Ycic/K6Auc= sha256:++ReKMi5u9w8TePOzcaA3Uu2K1T/T/KkQrVXzoJzFUk= sha1:1ELehnJSoNu4DYAhGaEQAI3cWCU= sha256:Qp6pKQBh6xGXDwUy7QP7eGKeeNm68JIdalqLa1Arwqg=