man coproc report error but help proc works

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











up vote
0
down vote

favorite












I learned that from an instruction:




Co-processing does two things at the same time. It spawns a subshell in background mode and executes a command within that subshell.




[root@iz2ze9wve43n2nyuvmsfx5z ~]# coproc ( sleep 10; sleep 2 )
[1] 32508
[root@iz2ze9wve43n2nyuvmsfx5z ~]# jobs
[1]+ Running coproc COPROC ( sleep 10; sleep 2 ) &


When I refer to its manual, get an error as feedback



root@iz2ze9wve43n2nyuvmsfx5z ~]# man coproc
No manual entry for coproc
[root@iz2ze9wve43n2nyuvmsfx5z ~]# coproc --info
[1] 32579
[root@iz2ze9wve43n2nyuvmsfx5z ~]# bash: line 25: --info: command not found

[1]+ Exit 127 coproc COPROC --info


help works



[root@iz2ze9wve43n2nyuvmsfx5z ~]# help coproc
coproc: coproc [NAME] command [redirections]
Create a coprocess named NAME.

Execute COMMAND asynchronously, with the standard output and standard
input of the command connected via a pipe to file descriptors assigned
to indices 0 and 1 of an array variable NAME in the executing shell.
The default NAME is "COPROC".

Exit Status:
Returns the exit status of COMMAND.


This's very confusing,

How could I have a big picture of the commands on which manuals I can reach to? How to distinguish them?









share







New contributor




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























    up vote
    0
    down vote

    favorite












    I learned that from an instruction:




    Co-processing does two things at the same time. It spawns a subshell in background mode and executes a command within that subshell.




    [root@iz2ze9wve43n2nyuvmsfx5z ~]# coproc ( sleep 10; sleep 2 )
    [1] 32508
    [root@iz2ze9wve43n2nyuvmsfx5z ~]# jobs
    [1]+ Running coproc COPROC ( sleep 10; sleep 2 ) &


    When I refer to its manual, get an error as feedback



    root@iz2ze9wve43n2nyuvmsfx5z ~]# man coproc
    No manual entry for coproc
    [root@iz2ze9wve43n2nyuvmsfx5z ~]# coproc --info
    [1] 32579
    [root@iz2ze9wve43n2nyuvmsfx5z ~]# bash: line 25: --info: command not found

    [1]+ Exit 127 coproc COPROC --info


    help works



    [root@iz2ze9wve43n2nyuvmsfx5z ~]# help coproc
    coproc: coproc [NAME] command [redirections]
    Create a coprocess named NAME.

    Execute COMMAND asynchronously, with the standard output and standard
    input of the command connected via a pipe to file descriptors assigned
    to indices 0 and 1 of an array variable NAME in the executing shell.
    The default NAME is "COPROC".

    Exit Status:
    Returns the exit status of COMMAND.


    This's very confusing,

    How could I have a big picture of the commands on which manuals I can reach to? How to distinguish them?









    share







    New contributor




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





















      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      I learned that from an instruction:




      Co-processing does two things at the same time. It spawns a subshell in background mode and executes a command within that subshell.




      [root@iz2ze9wve43n2nyuvmsfx5z ~]# coproc ( sleep 10; sleep 2 )
      [1] 32508
      [root@iz2ze9wve43n2nyuvmsfx5z ~]# jobs
      [1]+ Running coproc COPROC ( sleep 10; sleep 2 ) &


      When I refer to its manual, get an error as feedback



      root@iz2ze9wve43n2nyuvmsfx5z ~]# man coproc
      No manual entry for coproc
      [root@iz2ze9wve43n2nyuvmsfx5z ~]# coproc --info
      [1] 32579
      [root@iz2ze9wve43n2nyuvmsfx5z ~]# bash: line 25: --info: command not found

      [1]+ Exit 127 coproc COPROC --info


      help works



      [root@iz2ze9wve43n2nyuvmsfx5z ~]# help coproc
      coproc: coproc [NAME] command [redirections]
      Create a coprocess named NAME.

      Execute COMMAND asynchronously, with the standard output and standard
      input of the command connected via a pipe to file descriptors assigned
      to indices 0 and 1 of an array variable NAME in the executing shell.
      The default NAME is "COPROC".

      Exit Status:
      Returns the exit status of COMMAND.


      This's very confusing,

      How could I have a big picture of the commands on which manuals I can reach to? How to distinguish them?









      share







      New contributor




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











      I learned that from an instruction:




      Co-processing does two things at the same time. It spawns a subshell in background mode and executes a command within that subshell.




      [root@iz2ze9wve43n2nyuvmsfx5z ~]# coproc ( sleep 10; sleep 2 )
      [1] 32508
      [root@iz2ze9wve43n2nyuvmsfx5z ~]# jobs
      [1]+ Running coproc COPROC ( sleep 10; sleep 2 ) &


      When I refer to its manual, get an error as feedback



      root@iz2ze9wve43n2nyuvmsfx5z ~]# man coproc
      No manual entry for coproc
      [root@iz2ze9wve43n2nyuvmsfx5z ~]# coproc --info
      [1] 32579
      [root@iz2ze9wve43n2nyuvmsfx5z ~]# bash: line 25: --info: command not found

      [1]+ Exit 127 coproc COPROC --info


      help works



      [root@iz2ze9wve43n2nyuvmsfx5z ~]# help coproc
      coproc: coproc [NAME] command [redirections]
      Create a coprocess named NAME.

      Execute COMMAND asynchronously, with the standard output and standard
      input of the command connected via a pipe to file descriptors assigned
      to indices 0 and 1 of an array variable NAME in the executing shell.
      The default NAME is "COPROC".

      Exit Status:
      Returns the exit status of COMMAND.


      This's very confusing,

      How could I have a big picture of the commands on which manuals I can reach to? How to distinguish them?







      bash





      share







      New contributor




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










      share







      New contributor




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








      share



      share






      New contributor




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









      asked 1 min ago









      rider dragon

      22616




      22616




      New contributor




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





      New contributor





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






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

























          active

          oldest

          votes











          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
          );



          );






          rider dragon 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%2f477648%2fman-coproc-report-error-but-help-proc-works%23new-answer', 'question_page');

          );

          Post as a guest



































          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








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









           

          draft saved


          draft discarded


















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












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











          rider dragon 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%2f477648%2fman-coproc-report-error-but-help-proc-works%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?

          Bahrain

          Postfix configuration issue with fips on centos 7; mailgun relay