What was the point of separating stdout and stderr?What was the first language with regexes?What was the first programming bookWhere did the popularity of the `i` variable come from?What was the first C compiler for the Mac?How was the first working version of Google written?What's a good way to implement this “splashing water” effect on the C64?Was there ever a home PC which ran JOVIAL?What was the DOS FAT12 720k floppy raw disk format structure?What was the first language compiler to support subtype polymorphism?What is the most rudimentary input method a platform has ever been programmed in?

My colleague is constantly blaming me for his errors

Why was Pan Am Flight 103 flying over Lockerbie?

Prime in substituted benzene

Quantum jump/leap, exist or not, and instantaneous or not (for electrons)?

Have any large aeroplanes been landed — safely and without damage — in locations that they could not be flown away from?

Checkmate in 1 on a Tangled Board

Could you fall off a planet if it was being accelerated by engines?

Security Patch SUPEE-11155 - Possible issues?

pgfmath does not work

Subset of knight's move in chess.

Do home values typically rise and fall consistently across different price ranges?

A finite 2 group containing the dihedral group of order 16?

How to securely dispose of a smartphone?

What happens if a caster is surprised while casting a spell with a long casting time?

Reusable spacecraft: why still have fairings detach, instead of open/close?

/etc/hosts not working

How to describe POV characters?

How can I open this door latch with the knobs removed?

Why would anyone even use a Portkey?

How do I create a new column in a dataframe from an existing column using conditions?

Undetectable mail tracker

Why wasn't EBCDIC designed with contiguous alphanumeric characters?

What game is this character in the Pixels movie from?

List Manipulation : a,b,c,d,e,f,g,h into a,b,c,d,e,f,g,h



What was the point of separating stdout and stderr?


What was the first language with regexes?What was the first programming bookWhere did the popularity of the `i` variable come from?What was the first C compiler for the Mac?How was the first working version of Google written?What's a good way to implement this “splashing water” effect on the C64?Was there ever a home PC which ran JOVIAL?What was the DOS FAT12 720k floppy raw disk format structure?What was the first language compiler to support subtype polymorphism?What is the most rudimentary input method a platform has ever been programmed in?






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








5















I occasionally need to work with console commands and 100% of the time I want to redirect my output to a file I fail to redirect stderr as well as stdout the first time. I can't think of a single reason one would want the output and the error to got to different locations, especially since in most early programs what constituted error output and standard output was left entirely up to the programmer, and it's usage was wildly inconsistent.



I realize of course, I'm ranting in 2019. We've moved well past simply outputting to the console in most all respects; so much so it's very much the exception rather than the norm. In the early days of computing there might have been a good reason to separate stdout and stderr.



What, if it existed, was it?










share|improve this question









New contributor



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



















  • Off topic but definitely worth your attention. Look into the history of the pseudoterminal. This is one of those ideas that keeps getting reinvented and then forgotten again. en.wikipedia.org/wiki/Pseudoterminal

    – Walter Mitty
    8 hours ago






  • 2





    One might trivially say, so that output and errors were not confused.

    – another-dave
    2 hours ago






  • 2





    "We've moved well past simply outputting to the console in most all respects" We have? How so? What do we do now?

    – Cody Gray
    13 mins ago


















5















I occasionally need to work with console commands and 100% of the time I want to redirect my output to a file I fail to redirect stderr as well as stdout the first time. I can't think of a single reason one would want the output and the error to got to different locations, especially since in most early programs what constituted error output and standard output was left entirely up to the programmer, and it's usage was wildly inconsistent.



I realize of course, I'm ranting in 2019. We've moved well past simply outputting to the console in most all respects; so much so it's very much the exception rather than the norm. In the early days of computing there might have been a good reason to separate stdout and stderr.



What, if it existed, was it?










share|improve this question









New contributor



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



















  • Off topic but definitely worth your attention. Look into the history of the pseudoterminal. This is one of those ideas that keeps getting reinvented and then forgotten again. en.wikipedia.org/wiki/Pseudoterminal

    – Walter Mitty
    8 hours ago






  • 2





    One might trivially say, so that output and errors were not confused.

    – another-dave
    2 hours ago






  • 2





    "We've moved well past simply outputting to the console in most all respects" We have? How so? What do we do now?

    – Cody Gray
    13 mins ago














5












5








5








I occasionally need to work with console commands and 100% of the time I want to redirect my output to a file I fail to redirect stderr as well as stdout the first time. I can't think of a single reason one would want the output and the error to got to different locations, especially since in most early programs what constituted error output and standard output was left entirely up to the programmer, and it's usage was wildly inconsistent.



I realize of course, I'm ranting in 2019. We've moved well past simply outputting to the console in most all respects; so much so it's very much the exception rather than the norm. In the early days of computing there might have been a good reason to separate stdout and stderr.



What, if it existed, was it?










share|improve this question









New contributor



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











I occasionally need to work with console commands and 100% of the time I want to redirect my output to a file I fail to redirect stderr as well as stdout the first time. I can't think of a single reason one would want the output and the error to got to different locations, especially since in most early programs what constituted error output and standard output was left entirely up to the programmer, and it's usage was wildly inconsistent.



I realize of course, I'm ranting in 2019. We've moved well past simply outputting to the console in most all respects; so much so it's very much the exception rather than the norm. In the early days of computing there might have been a good reason to separate stdout and stderr.



What, if it existed, was it?







programming






share|improve this question









New contributor



Sidney 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



Sidney 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 8 hours ago









Brian Tompsett - 汤莱恩

1,5956 silver badges22 bronze badges




1,5956 silver badges22 bronze badges






New contributor



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








asked 8 hours ago









SidneySidney

1262 bronze badges




1262 bronze badges




New contributor



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




New contributor




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














  • Off topic but definitely worth your attention. Look into the history of the pseudoterminal. This is one of those ideas that keeps getting reinvented and then forgotten again. en.wikipedia.org/wiki/Pseudoterminal

    – Walter Mitty
    8 hours ago






  • 2





    One might trivially say, so that output and errors were not confused.

    – another-dave
    2 hours ago






  • 2





    "We've moved well past simply outputting to the console in most all respects" We have? How so? What do we do now?

    – Cody Gray
    13 mins ago


















  • Off topic but definitely worth your attention. Look into the history of the pseudoterminal. This is one of those ideas that keeps getting reinvented and then forgotten again. en.wikipedia.org/wiki/Pseudoterminal

    – Walter Mitty
    8 hours ago






  • 2





    One might trivially say, so that output and errors were not confused.

    – another-dave
    2 hours ago






  • 2





    "We've moved well past simply outputting to the console in most all respects" We have? How so? What do we do now?

    – Cody Gray
    13 mins ago

















Off topic but definitely worth your attention. Look into the history of the pseudoterminal. This is one of those ideas that keeps getting reinvented and then forgotten again. en.wikipedia.org/wiki/Pseudoterminal

– Walter Mitty
8 hours ago





Off topic but definitely worth your attention. Look into the history of the pseudoterminal. This is one of those ideas that keeps getting reinvented and then forgotten again. en.wikipedia.org/wiki/Pseudoterminal

– Walter Mitty
8 hours ago




2




2





One might trivially say, so that output and errors were not confused.

– another-dave
2 hours ago





One might trivially say, so that output and errors were not confused.

– another-dave
2 hours ago




2




2





"We've moved well past simply outputting to the console in most all respects" We have? How so? What do we do now?

– Cody Gray
13 mins ago






"We've moved well past simply outputting to the console in most all respects" We have? How so? What do we do now?

– Cody Gray
13 mins ago











2 Answers
2






active

oldest

votes


















13














Because you might not want error messages in your output. According to computer scientist Stephen C. Johnson:




One of the most amusing and unexpected consequences of
phototypesetting was the Unix standard error file (!). After
phototypesetting, you had to take a long wide strip of paper and feed
it carefully into a smelly, icky machine which eventually (several
minutes later) spat out the paper with the printing visible.



One afternoon several of us had the same experience -- typesetting
something, feeding the paper through the developer, only to find a
single, beautifully typeset line: "cannot open file foobar" The
grumbles were loud enough and in the presence of the right people, and
a couple of days later the standard error file was born...







share|improve this answer




















  • 2





    Diomidis Spinellis provides more context in his blog post on the topic, based on Stephen C. Johnson’s email.

    – Stephen Kitt
    8 hours ago


















7














You are thinking that all output is for human reading.



For instance, take the Unix cpio command. It writes the archive to stdout, which is always redirected to a device or file. It writes the archive with a header before each file that contains the size of the file, which lets it calculate the offset to the next file when reading it back.



If there was an error or warning thrown in there, it would basically make it unusable after that point due to the extra data thrown in the output. Plus you would want that warning to go to your screen or error log separately from the archive, otherwise you would never see it.






share|improve this answer

























    Your Answer








    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "648"
    ;
    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
    ,
    noCode: true, onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );






    Sidney 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%2fretrocomputing.stackexchange.com%2fquestions%2f11499%2fwhat-was-the-point-of-separating-stdout-and-stderr%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









    13














    Because you might not want error messages in your output. According to computer scientist Stephen C. Johnson:




    One of the most amusing and unexpected consequences of
    phototypesetting was the Unix standard error file (!). After
    phototypesetting, you had to take a long wide strip of paper and feed
    it carefully into a smelly, icky machine which eventually (several
    minutes later) spat out the paper with the printing visible.



    One afternoon several of us had the same experience -- typesetting
    something, feeding the paper through the developer, only to find a
    single, beautifully typeset line: "cannot open file foobar" The
    grumbles were loud enough and in the presence of the right people, and
    a couple of days later the standard error file was born...







    share|improve this answer




















    • 2





      Diomidis Spinellis provides more context in his blog post on the topic, based on Stephen C. Johnson’s email.

      – Stephen Kitt
      8 hours ago















    13














    Because you might not want error messages in your output. According to computer scientist Stephen C. Johnson:




    One of the most amusing and unexpected consequences of
    phototypesetting was the Unix standard error file (!). After
    phototypesetting, you had to take a long wide strip of paper and feed
    it carefully into a smelly, icky machine which eventually (several
    minutes later) spat out the paper with the printing visible.



    One afternoon several of us had the same experience -- typesetting
    something, feeding the paper through the developer, only to find a
    single, beautifully typeset line: "cannot open file foobar" The
    grumbles were loud enough and in the presence of the right people, and
    a couple of days later the standard error file was born...







    share|improve this answer




















    • 2





      Diomidis Spinellis provides more context in his blog post on the topic, based on Stephen C. Johnson’s email.

      – Stephen Kitt
      8 hours ago













    13












    13








    13







    Because you might not want error messages in your output. According to computer scientist Stephen C. Johnson:




    One of the most amusing and unexpected consequences of
    phototypesetting was the Unix standard error file (!). After
    phototypesetting, you had to take a long wide strip of paper and feed
    it carefully into a smelly, icky machine which eventually (several
    minutes later) spat out the paper with the printing visible.



    One afternoon several of us had the same experience -- typesetting
    something, feeding the paper through the developer, only to find a
    single, beautifully typeset line: "cannot open file foobar" The
    grumbles were loud enough and in the presence of the right people, and
    a couple of days later the standard error file was born...







    share|improve this answer















    Because you might not want error messages in your output. According to computer scientist Stephen C. Johnson:




    One of the most amusing and unexpected consequences of
    phototypesetting was the Unix standard error file (!). After
    phototypesetting, you had to take a long wide strip of paper and feed
    it carefully into a smelly, icky machine which eventually (several
    minutes later) spat out the paper with the printing visible.



    One afternoon several of us had the same experience -- typesetting
    something, feeding the paper through the developer, only to find a
    single, beautifully typeset line: "cannot open file foobar" The
    grumbles were loud enough and in the presence of the right people, and
    a couple of days later the standard error file was born...








    share|improve this answer














    share|improve this answer



    share|improve this answer








    edited 8 hours ago









    Stephen Kitt

    46k8 gold badges193 silver badges195 bronze badges




    46k8 gold badges193 silver badges195 bronze badges










    answered 8 hours ago









    snips-n-snailssnips-n-snails

    9,9762 gold badges34 silver badges79 bronze badges




    9,9762 gold badges34 silver badges79 bronze badges







    • 2





      Diomidis Spinellis provides more context in his blog post on the topic, based on Stephen C. Johnson’s email.

      – Stephen Kitt
      8 hours ago












    • 2





      Diomidis Spinellis provides more context in his blog post on the topic, based on Stephen C. Johnson’s email.

      – Stephen Kitt
      8 hours ago







    2




    2





    Diomidis Spinellis provides more context in his blog post on the topic, based on Stephen C. Johnson’s email.

    – Stephen Kitt
    8 hours ago





    Diomidis Spinellis provides more context in his blog post on the topic, based on Stephen C. Johnson’s email.

    – Stephen Kitt
    8 hours ago













    7














    You are thinking that all output is for human reading.



    For instance, take the Unix cpio command. It writes the archive to stdout, which is always redirected to a device or file. It writes the archive with a header before each file that contains the size of the file, which lets it calculate the offset to the next file when reading it back.



    If there was an error or warning thrown in there, it would basically make it unusable after that point due to the extra data thrown in the output. Plus you would want that warning to go to your screen or error log separately from the archive, otherwise you would never see it.






    share|improve this answer



























      7














      You are thinking that all output is for human reading.



      For instance, take the Unix cpio command. It writes the archive to stdout, which is always redirected to a device or file. It writes the archive with a header before each file that contains the size of the file, which lets it calculate the offset to the next file when reading it back.



      If there was an error or warning thrown in there, it would basically make it unusable after that point due to the extra data thrown in the output. Plus you would want that warning to go to your screen or error log separately from the archive, otherwise you would never see it.






      share|improve this answer

























        7












        7








        7







        You are thinking that all output is for human reading.



        For instance, take the Unix cpio command. It writes the archive to stdout, which is always redirected to a device or file. It writes the archive with a header before each file that contains the size of the file, which lets it calculate the offset to the next file when reading it back.



        If there was an error or warning thrown in there, it would basically make it unusable after that point due to the extra data thrown in the output. Plus you would want that warning to go to your screen or error log separately from the archive, otherwise you would never see it.






        share|improve this answer













        You are thinking that all output is for human reading.



        For instance, take the Unix cpio command. It writes the archive to stdout, which is always redirected to a device or file. It writes the archive with a header before each file that contains the size of the file, which lets it calculate the offset to the next file when reading it back.



        If there was an error or warning thrown in there, it would basically make it unusable after that point due to the extra data thrown in the output. Plus you would want that warning to go to your screen or error log separately from the archive, otherwise you would never see it.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered 7 hours ago









        mannaggiamannaggia

        1,3111 gold badge5 silver badges8 bronze badges




        1,3111 gold badge5 silver badges8 bronze badges




















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









            draft saved

            draft discarded


















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












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











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














            Thanks for contributing an answer to Retrocomputing 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%2fretrocomputing.stackexchange.com%2fquestions%2f11499%2fwhat-was-the-point-of-separating-stdout-and-stderr%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年 目錄 大件事 到箇年出世嗰人 到箇年死嗰人 節慶、風俗習慣 導覽選單