How to insert inline comment in multiline command?

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
1
down vote

favorite












I'd like to do this on bash



apt install -y 
curl # i'd like to insert comment here somehow
python3


But this doesn't work.







share|improve this question



















  • Similar: unix.stackexchange.com/q/19124/117549
    – Jeff Schaller
    Jun 22 at 9:54














up vote
1
down vote

favorite












I'd like to do this on bash



apt install -y 
curl # i'd like to insert comment here somehow
python3


But this doesn't work.







share|improve this question



















  • Similar: unix.stackexchange.com/q/19124/117549
    – Jeff Schaller
    Jun 22 at 9:54












up vote
1
down vote

favorite









up vote
1
down vote

favorite











I'd like to do this on bash



apt install -y 
curl # i'd like to insert comment here somehow
python3


But this doesn't work.







share|improve this question











I'd like to do this on bash



apt install -y 
curl # i'd like to insert comment here somehow
python3


But this doesn't work.









share|improve this question










share|improve this question




share|improve this question









asked Jun 22 at 9:28









xliiv

2642413




2642413











  • Similar: unix.stackexchange.com/q/19124/117549
    – Jeff Schaller
    Jun 22 at 9:54
















  • Similar: unix.stackexchange.com/q/19124/117549
    – Jeff Schaller
    Jun 22 at 9:54















Similar: unix.stackexchange.com/q/19124/117549
– Jeff Schaller
Jun 22 at 9:54




Similar: unix.stackexchange.com/q/19124/117549
– Jeff Schaller
Jun 22 at 9:54










1 Answer
1






active

oldest

votes

















up vote
1
down vote



accepted










One approach:



apt install -y 
curl `# my comment`
python3





share|improve this answer























    Your Answer







    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "106"
    ;
    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',
    convertImagesToLinks: false,
    noModals: false,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );








     

    draft saved


    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f451256%2fhow-to-insert-inline-comment-in-multiline-command%23new-answer', 'question_page');

    );

    Post as a guest






























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    1
    down vote



    accepted










    One approach:



    apt install -y 
    curl `# my comment`
    python3





    share|improve this answer



























      up vote
      1
      down vote



      accepted










      One approach:



      apt install -y 
      curl `# my comment`
      python3





      share|improve this answer

























        up vote
        1
        down vote



        accepted







        up vote
        1
        down vote



        accepted






        One approach:



        apt install -y 
        curl `# my comment`
        python3





        share|improve this answer















        One approach:



        apt install -y 
        curl `# my comment`
        python3






        share|improve this answer















        share|improve this answer



        share|improve this answer








        edited Jun 22 at 10:04


























        answered Jun 22 at 9:34









        steve

        12.1k22047




        12.1k22047






















             

            draft saved


            draft discarded


























             


            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f451256%2fhow-to-insert-inline-comment-in-multiline-command%23new-answer', 'question_page');

            );

            Post as a guest













































































            Popular posts from this blog

            How to check contact read email or not when send email to Individual?

            Displaying single band from multi-band raster using QGIS

            How many registers does an x86_64 CPU actually have?