Why won't the strings command stop?Why is return is ignored during output in bash?Excessively high memory...

Why won't the strings command stop?

A bug in Excel? Conditional formatting for marking duplicates also highlights unique value

The need of reserving one's ability in job interviews

When was drinking water recognized as crucial in marathon running?

Is the withholding of funding notice allowed?

What is a term for a function that when called repeatedly, has the same effect as calling once?

How to substitute values from a list into a function?

Calculating Hyperbolic Sin faster than using a standard power series

Get length of the longest sequence of numbers with the same sign

Is there any relevance to Thor getting his hair cut other than comedic value?

Giving a talk in my old university, how prominently should I tell students my salary?

In Adventurer's League, is it possible to keep the Ring of Winter if you manage to acquire it in the Tomb of Annihilation adventure?

Was it really inappropriate to write a pull request for the company I interviewed with?

What is this waxed root vegetable?

When to use mean vs median

Are small insurances worth it

Where is the line between being obedient and getting bullied by a boss?

Why I cant see italic font at the header?

Are paired adjectives bad style?

What happened to QGIS 2.x LTR?

Why is it "take a leak?"

Can we carry rice to Japan?

Would the melodic leap of the opening phrase of Mozart's K545 be considered dissonant?

Which sins are beyond punishment?



Why won't the strings command stop?


Why is return is ignored during output in bash?Excessively high memory usage reported (3 GB) after reboot&> redirection not working correctlyCentOS can't use new extented space on system discWhy does 'nohup command >& /dev/null' seem to “work” in some shells?Is it bad to have a low entropy in /dev/random?bash - Separate “table” values into strings in arrayWhy stderr is required?0 bytes of swap space available, recommended 10gbDisconnected block device remains in /dev/, sync commands unkillable













2















The strings command behaves weirdly, apparently it doesn't stop writing to a file even if drive run out of space. Or perhaps I'm missing something?



I run the following:



# strings /dev/urandom > random.txt


this was keep running and didn't stop even after filling the disk (a regular usb flash).



then to be quicker I created a ramdisk and tried again the same command. it also didn't stop.



I understand that urandom isn't a regular file and also strings's output is redirected, however in both cases above, the cat command reported the error when there was no more space.



# cat /dev/urandom > random.txt
cat: write error: No space left on device



  1. Is this normal behavior of strings? If so, why?

  2. Where is the data written after there's no more space left?










share|improve this question









New contributor




user174174 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





















  • What was the indication that your first command had actually filled up the disk?

    – Kusalananda
    1 hour ago











  • @Kusalananda It was reported by df. I was monitoring it from another virtual terminal using watch df -h

    – user174174
    1 hour ago
















2















The strings command behaves weirdly, apparently it doesn't stop writing to a file even if drive run out of space. Or perhaps I'm missing something?



I run the following:



# strings /dev/urandom > random.txt


this was keep running and didn't stop even after filling the disk (a regular usb flash).



then to be quicker I created a ramdisk and tried again the same command. it also didn't stop.



I understand that urandom isn't a regular file and also strings's output is redirected, however in both cases above, the cat command reported the error when there was no more space.



# cat /dev/urandom > random.txt
cat: write error: No space left on device



  1. Is this normal behavior of strings? If so, why?

  2. Where is the data written after there's no more space left?










share|improve this question









New contributor




user174174 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





















  • What was the indication that your first command had actually filled up the disk?

    – Kusalananda
    1 hour ago











  • @Kusalananda It was reported by df. I was monitoring it from another virtual terminal using watch df -h

    – user174174
    1 hour ago














2












2








2


1






The strings command behaves weirdly, apparently it doesn't stop writing to a file even if drive run out of space. Or perhaps I'm missing something?



I run the following:



# strings /dev/urandom > random.txt


this was keep running and didn't stop even after filling the disk (a regular usb flash).



then to be quicker I created a ramdisk and tried again the same command. it also didn't stop.



I understand that urandom isn't a regular file and also strings's output is redirected, however in both cases above, the cat command reported the error when there was no more space.



# cat /dev/urandom > random.txt
cat: write error: No space left on device



  1. Is this normal behavior of strings? If so, why?

  2. Where is the data written after there's no more space left?










share|improve this question









New contributor




user174174 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












The strings command behaves weirdly, apparently it doesn't stop writing to a file even if drive run out of space. Or perhaps I'm missing something?



I run the following:



# strings /dev/urandom > random.txt


this was keep running and didn't stop even after filling the disk (a regular usb flash).



then to be quicker I created a ramdisk and tried again the same command. it also didn't stop.



I understand that urandom isn't a regular file and also strings's output is redirected, however in both cases above, the cat command reported the error when there was no more space.



# cat /dev/urandom > random.txt
cat: write error: No space left on device



  1. Is this normal behavior of strings? If so, why?

  2. Where is the data written after there's no more space left?







linux shell string






share|improve this question









New contributor




user174174 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question









New contributor




user174174 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question








edited 1 hour ago









Olorin

3,5071419




3,5071419






New contributor




user174174 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked 4 hours ago









user174174user174174

132




132




New contributor




user174174 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





user174174 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






user174174 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.













  • What was the indication that your first command had actually filled up the disk?

    – Kusalananda
    1 hour ago











  • @Kusalananda It was reported by df. I was monitoring it from another virtual terminal using watch df -h

    – user174174
    1 hour ago



















  • What was the indication that your first command had actually filled up the disk?

    – Kusalananda
    1 hour ago











  • @Kusalananda It was reported by df. I was monitoring it from another virtual terminal using watch df -h

    – user174174
    1 hour ago

















What was the indication that your first command had actually filled up the disk?

– Kusalananda
1 hour ago





What was the indication that your first command had actually filled up the disk?

– Kusalananda
1 hour ago













@Kusalananda It was reported by df. I was monitoring it from another virtual terminal using watch df -h

– user174174
1 hour ago





@Kusalananda It was reported by df. I was monitoring it from another virtual terminal using watch df -h

– user174174
1 hour ago










2 Answers
2






active

oldest

votes


















5














If GNU cat can't write out what it read, it will exit with an error:





/* Write this block out.  */

{
/* The following is ok, since we know that 0 < n_read. */
size_t n = n_read;
if (full_write (STDOUT_FILENO, buf, n) != n)
die (EXIT_FAILURE, errno, _("write error"));
}


GNU strings, on the other hand, doesn't care whether it managed to write successfully:



while (1)
{
c = get_char (stream, &address, &magiccount, &magic);
if (c == EOF)
break;
if (! STRING_ISGRAPHIC (c))
{
unget_part_char (c, &address, &magiccount, &magic);
break;
}
putchar (c);
}


So all those writes fail, but strings continues merrily along, until it reaches end of input, which will be never.



$ strace -e write strings /dev/urandom > foo/bar
write(1, "7[\Zn]juKwnl [1nTc9gn0&}x(xn/y^7"..., 4096) = 4096
write(1, "nXaki%ndHB0n?5:Qn6bX-np!E[n'&=7n"..., 4096) = 4096
write(1, "%M6sn=4C.%n&7)nnQ_%JncT+";nK*<%n"..., 4096) = 4096
write(1, "&d<nj~g0nm]=ona=^0n%s]2WnM7C%nUK"..., 4096) = -1 ENOSPC (No space left on device)
write(1, "~nd3qQn^^u1#na#5\n^=t"bn*91_n ]o"..., 4096) = -1 ENOSPC (No space left on device)
write(1, "Ln6QO1xna,yEnk>",@ZnyM.urn~ztFnr"..., 4096) = -1 ENOSPC (No space left on device)
write(1, "n61]Rnyg9CnfLVun<Ez:n.tV-cnw_'>e"..., 4096) = -1 ENOSPC (No space left on device)
write(1, "nCj)anT]X:uAn_KH"BnRfQ4Gn3retn&s"..., 4096) = -1 ENOSPC (No space left on device)
write(1, "jnk7@%n9E?^NnJ#8Vn*]i,nXDxh?nr_1"..., 4096) = -1 ENOSPC (No space left on device)
write(1, "iatInQ)ZwnnV0JnE3-W n@0-N2vnK{15"..., 4096) = -1 ENOSPC (No space left on device)
write(1, "nZ~*gn)FQnnUY:GndRbNnn..FnvF{,n+"..., 4096) = -1 ENOSPC (No space left on device)
...





share|improve this answer































    0














    Yes this is the proper behavior



    The data is not written anywhere when the disk is full, a write error is generated and the data is "dropped on the floor".



     Anything that starts with /dev is considered to be a device.
    So this is a device that constantly generates random bytes...

    dd if=/dev/urandom of=~/urandom_test count=4 bs=1024
    Creates a file containing 4K of random bytes.

    cat /dev/urandom > ~/urandom_test2
    Will continue to write random bytes to that file until you hit Ctrl-C.

    head -30 /dev/urandom > ~/urandom_test3
    Will write 30 lines of random bytes





    share|improve this answer








    New contributor




    Reenactor Rob is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.





















    • It's the behaviour defined by the implementation, certainly, but I'm with the OP in that it's not "proper" behaviour. I wouldn't expect strings to ignore a write error either.

      – roaima
      10 mins ago











    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',
    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
    });


    }
    });






    user174174 is a new contributor. Be nice, and check out our Code of Conduct.










    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f504616%2fwhy-wont-the-strings-command-stop%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    5














    If GNU cat can't write out what it read, it will exit with an error:





    /* Write this block out.  */

    {
    /* The following is ok, since we know that 0 < n_read. */
    size_t n = n_read;
    if (full_write (STDOUT_FILENO, buf, n) != n)
    die (EXIT_FAILURE, errno, _("write error"));
    }


    GNU strings, on the other hand, doesn't care whether it managed to write successfully:



    while (1)
    {
    c = get_char (stream, &address, &magiccount, &magic);
    if (c == EOF)
    break;
    if (! STRING_ISGRAPHIC (c))
    {
    unget_part_char (c, &address, &magiccount, &magic);
    break;
    }
    putchar (c);
    }


    So all those writes fail, but strings continues merrily along, until it reaches end of input, which will be never.



    $ strace -e write strings /dev/urandom > foo/bar
    write(1, "7[\Zn]juKwnl [1nTc9gn0&}x(xn/y^7"..., 4096) = 4096
    write(1, "nXaki%ndHB0n?5:Qn6bX-np!E[n'&=7n"..., 4096) = 4096
    write(1, "%M6sn=4C.%n&7)nnQ_%JncT+";nK*<%n"..., 4096) = 4096
    write(1, "&d<nj~g0nm]=ona=^0n%s]2WnM7C%nUK"..., 4096) = -1 ENOSPC (No space left on device)
    write(1, "~nd3qQn^^u1#na#5\n^=t"bn*91_n ]o"..., 4096) = -1 ENOSPC (No space left on device)
    write(1, "Ln6QO1xna,yEnk>",@ZnyM.urn~ztFnr"..., 4096) = -1 ENOSPC (No space left on device)
    write(1, "n61]Rnyg9CnfLVun<Ez:n.tV-cnw_'>e"..., 4096) = -1 ENOSPC (No space left on device)
    write(1, "nCj)anT]X:uAn_KH"BnRfQ4Gn3retn&s"..., 4096) = -1 ENOSPC (No space left on device)
    write(1, "jnk7@%n9E?^NnJ#8Vn*]i,nXDxh?nr_1"..., 4096) = -1 ENOSPC (No space left on device)
    write(1, "iatInQ)ZwnnV0JnE3-W n@0-N2vnK{15"..., 4096) = -1 ENOSPC (No space left on device)
    write(1, "nZ~*gn)FQnnUY:GndRbNnn..FnvF{,n+"..., 4096) = -1 ENOSPC (No space left on device)
    ...





    share|improve this answer




























      5














      If GNU cat can't write out what it read, it will exit with an error:





      /* Write this block out.  */

      {
      /* The following is ok, since we know that 0 < n_read. */
      size_t n = n_read;
      if (full_write (STDOUT_FILENO, buf, n) != n)
      die (EXIT_FAILURE, errno, _("write error"));
      }


      GNU strings, on the other hand, doesn't care whether it managed to write successfully:



      while (1)
      {
      c = get_char (stream, &address, &magiccount, &magic);
      if (c == EOF)
      break;
      if (! STRING_ISGRAPHIC (c))
      {
      unget_part_char (c, &address, &magiccount, &magic);
      break;
      }
      putchar (c);
      }


      So all those writes fail, but strings continues merrily along, until it reaches end of input, which will be never.



      $ strace -e write strings /dev/urandom > foo/bar
      write(1, "7[\Zn]juKwnl [1nTc9gn0&}x(xn/y^7"..., 4096) = 4096
      write(1, "nXaki%ndHB0n?5:Qn6bX-np!E[n'&=7n"..., 4096) = 4096
      write(1, "%M6sn=4C.%n&7)nnQ_%JncT+";nK*<%n"..., 4096) = 4096
      write(1, "&d<nj~g0nm]=ona=^0n%s]2WnM7C%nUK"..., 4096) = -1 ENOSPC (No space left on device)
      write(1, "~nd3qQn^^u1#na#5\n^=t"bn*91_n ]o"..., 4096) = -1 ENOSPC (No space left on device)
      write(1, "Ln6QO1xna,yEnk>",@ZnyM.urn~ztFnr"..., 4096) = -1 ENOSPC (No space left on device)
      write(1, "n61]Rnyg9CnfLVun<Ez:n.tV-cnw_'>e"..., 4096) = -1 ENOSPC (No space left on device)
      write(1, "nCj)anT]X:uAn_KH"BnRfQ4Gn3retn&s"..., 4096) = -1 ENOSPC (No space left on device)
      write(1, "jnk7@%n9E?^NnJ#8Vn*]i,nXDxh?nr_1"..., 4096) = -1 ENOSPC (No space left on device)
      write(1, "iatInQ)ZwnnV0JnE3-W n@0-N2vnK{15"..., 4096) = -1 ENOSPC (No space left on device)
      write(1, "nZ~*gn)FQnnUY:GndRbNnn..FnvF{,n+"..., 4096) = -1 ENOSPC (No space left on device)
      ...





      share|improve this answer


























        5












        5








        5







        If GNU cat can't write out what it read, it will exit with an error:





        /* Write this block out.  */

        {
        /* The following is ok, since we know that 0 < n_read. */
        size_t n = n_read;
        if (full_write (STDOUT_FILENO, buf, n) != n)
        die (EXIT_FAILURE, errno, _("write error"));
        }


        GNU strings, on the other hand, doesn't care whether it managed to write successfully:



        while (1)
        {
        c = get_char (stream, &address, &magiccount, &magic);
        if (c == EOF)
        break;
        if (! STRING_ISGRAPHIC (c))
        {
        unget_part_char (c, &address, &magiccount, &magic);
        break;
        }
        putchar (c);
        }


        So all those writes fail, but strings continues merrily along, until it reaches end of input, which will be never.



        $ strace -e write strings /dev/urandom > foo/bar
        write(1, "7[\Zn]juKwnl [1nTc9gn0&}x(xn/y^7"..., 4096) = 4096
        write(1, "nXaki%ndHB0n?5:Qn6bX-np!E[n'&=7n"..., 4096) = 4096
        write(1, "%M6sn=4C.%n&7)nnQ_%JncT+";nK*<%n"..., 4096) = 4096
        write(1, "&d<nj~g0nm]=ona=^0n%s]2WnM7C%nUK"..., 4096) = -1 ENOSPC (No space left on device)
        write(1, "~nd3qQn^^u1#na#5\n^=t"bn*91_n ]o"..., 4096) = -1 ENOSPC (No space left on device)
        write(1, "Ln6QO1xna,yEnk>",@ZnyM.urn~ztFnr"..., 4096) = -1 ENOSPC (No space left on device)
        write(1, "n61]Rnyg9CnfLVun<Ez:n.tV-cnw_'>e"..., 4096) = -1 ENOSPC (No space left on device)
        write(1, "nCj)anT]X:uAn_KH"BnRfQ4Gn3retn&s"..., 4096) = -1 ENOSPC (No space left on device)
        write(1, "jnk7@%n9E?^NnJ#8Vn*]i,nXDxh?nr_1"..., 4096) = -1 ENOSPC (No space left on device)
        write(1, "iatInQ)ZwnnV0JnE3-W n@0-N2vnK{15"..., 4096) = -1 ENOSPC (No space left on device)
        write(1, "nZ~*gn)FQnnUY:GndRbNnn..FnvF{,n+"..., 4096) = -1 ENOSPC (No space left on device)
        ...





        share|improve this answer













        If GNU cat can't write out what it read, it will exit with an error:





        /* Write this block out.  */

        {
        /* The following is ok, since we know that 0 < n_read. */
        size_t n = n_read;
        if (full_write (STDOUT_FILENO, buf, n) != n)
        die (EXIT_FAILURE, errno, _("write error"));
        }


        GNU strings, on the other hand, doesn't care whether it managed to write successfully:



        while (1)
        {
        c = get_char (stream, &address, &magiccount, &magic);
        if (c == EOF)
        break;
        if (! STRING_ISGRAPHIC (c))
        {
        unget_part_char (c, &address, &magiccount, &magic);
        break;
        }
        putchar (c);
        }


        So all those writes fail, but strings continues merrily along, until it reaches end of input, which will be never.



        $ strace -e write strings /dev/urandom > foo/bar
        write(1, "7[\Zn]juKwnl [1nTc9gn0&}x(xn/y^7"..., 4096) = 4096
        write(1, "nXaki%ndHB0n?5:Qn6bX-np!E[n'&=7n"..., 4096) = 4096
        write(1, "%M6sn=4C.%n&7)nnQ_%JncT+";nK*<%n"..., 4096) = 4096
        write(1, "&d<nj~g0nm]=ona=^0n%s]2WnM7C%nUK"..., 4096) = -1 ENOSPC (No space left on device)
        write(1, "~nd3qQn^^u1#na#5\n^=t"bn*91_n ]o"..., 4096) = -1 ENOSPC (No space left on device)
        write(1, "Ln6QO1xna,yEnk>",@ZnyM.urn~ztFnr"..., 4096) = -1 ENOSPC (No space left on device)
        write(1, "n61]Rnyg9CnfLVun<Ez:n.tV-cnw_'>e"..., 4096) = -1 ENOSPC (No space left on device)
        write(1, "nCj)anT]X:uAn_KH"BnRfQ4Gn3retn&s"..., 4096) = -1 ENOSPC (No space left on device)
        write(1, "jnk7@%n9E?^NnJ#8Vn*]i,nXDxh?nr_1"..., 4096) = -1 ENOSPC (No space left on device)
        write(1, "iatInQ)ZwnnV0JnE3-W n@0-N2vnK{15"..., 4096) = -1 ENOSPC (No space left on device)
        write(1, "nZ~*gn)FQnnUY:GndRbNnn..FnvF{,n+"..., 4096) = -1 ENOSPC (No space left on device)
        ...






        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered 1 hour ago









        OlorinOlorin

        3,5071419




        3,5071419

























            0














            Yes this is the proper behavior



            The data is not written anywhere when the disk is full, a write error is generated and the data is "dropped on the floor".



             Anything that starts with /dev is considered to be a device.
            So this is a device that constantly generates random bytes...

            dd if=/dev/urandom of=~/urandom_test count=4 bs=1024
            Creates a file containing 4K of random bytes.

            cat /dev/urandom > ~/urandom_test2
            Will continue to write random bytes to that file until you hit Ctrl-C.

            head -30 /dev/urandom > ~/urandom_test3
            Will write 30 lines of random bytes





            share|improve this answer








            New contributor




            Reenactor Rob is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
            Check out our Code of Conduct.





















            • It's the behaviour defined by the implementation, certainly, but I'm with the OP in that it's not "proper" behaviour. I wouldn't expect strings to ignore a write error either.

              – roaima
              10 mins ago
















            0














            Yes this is the proper behavior



            The data is not written anywhere when the disk is full, a write error is generated and the data is "dropped on the floor".



             Anything that starts with /dev is considered to be a device.
            So this is a device that constantly generates random bytes...

            dd if=/dev/urandom of=~/urandom_test count=4 bs=1024
            Creates a file containing 4K of random bytes.

            cat /dev/urandom > ~/urandom_test2
            Will continue to write random bytes to that file until you hit Ctrl-C.

            head -30 /dev/urandom > ~/urandom_test3
            Will write 30 lines of random bytes





            share|improve this answer








            New contributor




            Reenactor Rob is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
            Check out our Code of Conduct.





















            • It's the behaviour defined by the implementation, certainly, but I'm with the OP in that it's not "proper" behaviour. I wouldn't expect strings to ignore a write error either.

              – roaima
              10 mins ago














            0












            0








            0







            Yes this is the proper behavior



            The data is not written anywhere when the disk is full, a write error is generated and the data is "dropped on the floor".



             Anything that starts with /dev is considered to be a device.
            So this is a device that constantly generates random bytes...

            dd if=/dev/urandom of=~/urandom_test count=4 bs=1024
            Creates a file containing 4K of random bytes.

            cat /dev/urandom > ~/urandom_test2
            Will continue to write random bytes to that file until you hit Ctrl-C.

            head -30 /dev/urandom > ~/urandom_test3
            Will write 30 lines of random bytes





            share|improve this answer








            New contributor




            Reenactor Rob is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
            Check out our Code of Conduct.










            Yes this is the proper behavior



            The data is not written anywhere when the disk is full, a write error is generated and the data is "dropped on the floor".



             Anything that starts with /dev is considered to be a device.
            So this is a device that constantly generates random bytes...

            dd if=/dev/urandom of=~/urandom_test count=4 bs=1024
            Creates a file containing 4K of random bytes.

            cat /dev/urandom > ~/urandom_test2
            Will continue to write random bytes to that file until you hit Ctrl-C.

            head -30 /dev/urandom > ~/urandom_test3
            Will write 30 lines of random bytes






            share|improve this answer








            New contributor




            Reenactor Rob is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
            Check out our Code of Conduct.









            share|improve this answer



            share|improve this answer






            New contributor




            Reenactor Rob is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
            Check out our Code of Conduct.









            answered 1 hour ago









            Reenactor RobReenactor Rob

            1011




            1011




            New contributor




            Reenactor Rob is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
            Check out our Code of Conduct.





            New contributor





            Reenactor Rob is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
            Check out our Code of Conduct.






            Reenactor Rob is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
            Check out our Code of Conduct.













            • It's the behaviour defined by the implementation, certainly, but I'm with the OP in that it's not "proper" behaviour. I wouldn't expect strings to ignore a write error either.

              – roaima
              10 mins ago



















            • It's the behaviour defined by the implementation, certainly, but I'm with the OP in that it's not "proper" behaviour. I wouldn't expect strings to ignore a write error either.

              – roaima
              10 mins ago

















            It's the behaviour defined by the implementation, certainly, but I'm with the OP in that it's not "proper" behaviour. I wouldn't expect strings to ignore a write error either.

            – roaima
            10 mins ago





            It's the behaviour defined by the implementation, certainly, but I'm with the OP in that it's not "proper" behaviour. I wouldn't expect strings to ignore a write error either.

            – roaima
            10 mins ago










            user174174 is a new contributor. Be nice, and check out our Code of Conduct.










            draft saved

            draft discarded


















            user174174 is a new contributor. Be nice, and check out our Code of Conduct.













            user174174 is a new contributor. Be nice, and check out our Code of Conduct.












            user174174 is a new contributor. Be nice, and check out our Code of Conduct.
















            Thanks for contributing an answer to Unix & Linux 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%2funix.stackexchange.com%2fquestions%2f504616%2fwhy-wont-the-strings-command-stop%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

            As a Security Precaution, the user account has been locked The Next CEO of Stack OverflowMS...

            Список ссавців Італії Природоохоронні статуси | Список |...

            Українські прізвища Зміст Історичні відомості |...