From 2aa49363eb0295b94177feb6be945e8e45d11c27 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kha=C3=AFs=20COLIN?= Date: Wed, 12 Feb 2025 15:10:12 +0100 Subject: [PATCH] notes: reading input in non-interactive mode needs to be done char by char --- NOTES.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/NOTES.md b/NOTES.md index a0ed688..fb4c645 100644 --- a/NOTES.md +++ b/NOTES.md @@ -38,6 +38,10 @@ PRYSK12345 2 0 cf. 3.1.1 Shell Operation +Reads the input. When reading input in non-interactive mode, it MUST do so one +character at a time, so that it does not accidentally read a character that is +intended for a called program. + Breaks the input into **words** and **operators**, obeying the *Quoting Rules*. These tokens are delimited by **metacharacters**.