Reading line from terminal in expl3Peek ahead for next token not in token-listList Version of str_if_eqPDF keywords from Expl3 clistInline Mapping Bug?How do the xx_case: functions work?Confusion about Data Retrieval from a LaTeX3 Stackexpl3: lowercase a token list inside a tikz nodeBetter latex output, instead of being wrapped on Terminal?expl3-strategy to automatically update the title of a document, depending on its contentexpl3 function for fixed number of expansion steps

What happens when a flying sword is killed?

How do I use JSON.generator to generate an unnamed array?

Irreducible factors of primitive permutation group representation

Examples of simultaneous independent breakthroughs

How long until two planets become one?

Name These Animals

Is this photo showing a woman standing in the nude before teenagers real?

Are the named pipe created by `mknod` and the FIFO created by `mkfifo` equivalent?

Can I change the license of a forked project to the MIT if the license of the parent project has changed from the GPL to the MIT?

Assuring luggage isn't lost with short layover

Why is the number of local variables used in a Java bytecode method not the most economical?

Why does the Eurostar not show youth pricing?

Incrementing add under condition in pandas

Does dual boot harm a laptop battery or reduce its life?

Why didn’t Christianity spread southwards from Ethiopia in the Middle Ages?

How could Nomadic scholars effectively memorize libraries worth of information

Move the outer key inward in an association

Spacing after a tikz figure

Is it error of law to judge on less relevant case law when there is much more relevant one?

What is the most efficient way to write 'for' loops in Matlab?

Why is の所 used after ドア in this sentence?

What is this 4 sharp symbol and what does it mean?

Copying an existing HTML page and use it, is that against any copyright law?

How did the SysRq key get onto modern keyboards if it's rarely used?



Reading line from terminal in expl3


Peek ahead for next token not in token-listList Version of str_if_eqPDF keywords from Expl3 clistInline Mapping Bug?How do the xx_case: functions work?Confusion about Data Retrieval from a LaTeX3 Stackexpl3: lowercase a token list inside a tikz nodeBetter latex output, instead of being wrapped on Terminal?expl3-strategy to automatically update the title of a document, depending on its contentexpl3 function for fixed number of expansion steps






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








4















Simple question: How do you read a line from terminal to a token list variable in expl3?



The following is what I tried:



documentclassarticle
usepackageexpl3

begindocument
ExplSyntaxOn

read c_term_ior to l_tmpa_tl
tl_show:N l_tmpa_tl

ior_get:NN c_term_ior l_tmpa_tl
tl_show:N l_tmpa_tl

ExplSyntaxOff
enddocument


resulting in the expected behavior for the read version, but in q_no_value for the ior_get:NN version.










share|improve this question






























    4















    Simple question: How do you read a line from terminal to a token list variable in expl3?



    The following is what I tried:



    documentclassarticle
    usepackageexpl3

    begindocument
    ExplSyntaxOn

    read c_term_ior to l_tmpa_tl
    tl_show:N l_tmpa_tl

    ior_get:NN c_term_ior l_tmpa_tl
    tl_show:N l_tmpa_tl

    ExplSyntaxOff
    enddocument


    resulting in the expected behavior for the read version, but in q_no_value for the ior_get:NN version.










    share|improve this question


























      4












      4








      4








      Simple question: How do you read a line from terminal to a token list variable in expl3?



      The following is what I tried:



      documentclassarticle
      usepackageexpl3

      begindocument
      ExplSyntaxOn

      read c_term_ior to l_tmpa_tl
      tl_show:N l_tmpa_tl

      ior_get:NN c_term_ior l_tmpa_tl
      tl_show:N l_tmpa_tl

      ExplSyntaxOff
      enddocument


      resulting in the expected behavior for the read version, but in q_no_value for the ior_get:NN version.










      share|improve this question














      Simple question: How do you read a line from terminal to a token list variable in expl3?



      The following is what I tried:



      documentclassarticle
      usepackageexpl3

      begindocument
      ExplSyntaxOn

      read c_term_ior to l_tmpa_tl
      tl_show:N l_tmpa_tl

      ior_get:NN c_term_ior l_tmpa_tl
      tl_show:N l_tmpa_tl

      ExplSyntaxOff
      enddocument


      resulting in the expected behavior for the read version, but in q_no_value for the ior_get:NN version.







      expl3 terminal-output






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked 8 hours ago









      siracusasiracusa

      7,6242 gold badges18 silver badges34 bronze badges




      7,6242 gold badges18 silver badges34 bronze badges























          1 Answer
          1






          active

          oldest

          votes


















          4














          You are looking for ior_get_term:nN (or perhaps ior_str_get_term:nN), added as candidates in March 2019. You'd do something like



          documentclassarticle
          usepackageexpl3

          begindocument
          ExplSyntaxOn
          ior_get_term:nN Foo ~ bar l_tmpa_tl
          tl_show:N l_tmpa_tl

          ExplSyntaxOff
          enddocument


          Due to an internal change of how input streams are managed, to make the check whether they are open more robust, the effect is that ior_get:NN no longer works with c_term_ior and for this reason ior_get_term:Nn has been introduced. Unfortunately, the documentation wasn't updated to reflect this.






          share|improve this answer





























            Your Answer








            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "85"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: false,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            bindNavPrevention: true,
            postfix: "",
            imageUploader:
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            ,
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );













            draft saved

            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f502000%2freading-line-from-terminal-in-expl3%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            4














            You are looking for ior_get_term:nN (or perhaps ior_str_get_term:nN), added as candidates in March 2019. You'd do something like



            documentclassarticle
            usepackageexpl3

            begindocument
            ExplSyntaxOn
            ior_get_term:nN Foo ~ bar l_tmpa_tl
            tl_show:N l_tmpa_tl

            ExplSyntaxOff
            enddocument


            Due to an internal change of how input streams are managed, to make the check whether they are open more robust, the effect is that ior_get:NN no longer works with c_term_ior and for this reason ior_get_term:Nn has been introduced. Unfortunately, the documentation wasn't updated to reflect this.






            share|improve this answer































              4














              You are looking for ior_get_term:nN (or perhaps ior_str_get_term:nN), added as candidates in March 2019. You'd do something like



              documentclassarticle
              usepackageexpl3

              begindocument
              ExplSyntaxOn
              ior_get_term:nN Foo ~ bar l_tmpa_tl
              tl_show:N l_tmpa_tl

              ExplSyntaxOff
              enddocument


              Due to an internal change of how input streams are managed, to make the check whether they are open more robust, the effect is that ior_get:NN no longer works with c_term_ior and for this reason ior_get_term:Nn has been introduced. Unfortunately, the documentation wasn't updated to reflect this.






              share|improve this answer





























                4












                4








                4







                You are looking for ior_get_term:nN (or perhaps ior_str_get_term:nN), added as candidates in March 2019. You'd do something like



                documentclassarticle
                usepackageexpl3

                begindocument
                ExplSyntaxOn
                ior_get_term:nN Foo ~ bar l_tmpa_tl
                tl_show:N l_tmpa_tl

                ExplSyntaxOff
                enddocument


                Due to an internal change of how input streams are managed, to make the check whether they are open more robust, the effect is that ior_get:NN no longer works with c_term_ior and for this reason ior_get_term:Nn has been introduced. Unfortunately, the documentation wasn't updated to reflect this.






                share|improve this answer















                You are looking for ior_get_term:nN (or perhaps ior_str_get_term:nN), added as candidates in March 2019. You'd do something like



                documentclassarticle
                usepackageexpl3

                begindocument
                ExplSyntaxOn
                ior_get_term:nN Foo ~ bar l_tmpa_tl
                tl_show:N l_tmpa_tl

                ExplSyntaxOff
                enddocument


                Due to an internal change of how input streams are managed, to make the check whether they are open more robust, the effect is that ior_get:NN no longer works with c_term_ior and for this reason ior_get_term:Nn has been introduced. Unfortunately, the documentation wasn't updated to reflect this.







                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited 4 hours ago









                egreg

                758k90 gold badges1983 silver badges3329 bronze badges




                758k90 gold badges1983 silver badges3329 bronze badges










                answered 8 hours ago









                Joseph WrightJoseph Wright

                210k24 gold badges574 silver badges904 bronze badges




                210k24 gold badges574 silver badges904 bronze badges






























                    draft saved

                    draft discarded
















































                    Thanks for contributing an answer to TeX - LaTeX Stack Exchange!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid


                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.

                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f502000%2freading-line-from-terminal-in-expl3%23new-answer', 'question_page');

                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Canceling a color specificationRandomly assigning color to Graphics3D objects?Default color for Filling in Mathematica 9Coloring specific elements of sets with a prime modified order in an array plotHow to pick a color differing significantly from the colors already in a given color list?Detection of the text colorColor numbers based on their valueCan color schemes for use with ColorData include opacity specification?My dynamic color schemes

                    Invision Community Contents History See also References External links Navigation menuProprietaryinvisioncommunity.comIPS Community ForumsIPS Community Forumsthis blog entry"License Changes, IP.Board 3.4, and the Future""Interview -- Matt Mecham of Ibforums""CEO Invision Power Board, Matt Mecham Is a Liar, Thief!"IPB License Explanation 1.3, 1.3.1, 2.0, and 2.1ArchivedSecurity Fixes, Updates And Enhancements For IPB 1.3.1Archived"New Demo Accounts - Invision Power Services"the original"New Default Skin"the original"Invision Power Board 3.0.0 and Applications Released"the original"Archived copy"the original"Perpetual licenses being done away with""Release Notes - Invision Power Services""Introducing: IPS Community Suite 4!"Invision Community Release Notes

                    199年 目錄 大件事 到箇年出世嗰人 到箇年死嗰人 節慶、風俗習慣 導覽選單