Where is the manpage for [[? [duplicate]

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











up vote
1
down vote

favorite













This question already has an answer here:



  • What is the difference between the Bash operators [[ vs [ vs ( vs ((?

    6 answers



  • How to read the man page for a bash builtin? [duplicate]

    1 answer



I'm trying to find the man page for [[ (double-brackets).



Apparently man test only documents test and [.



Are the conditionals for [[ and [ are exactly the same?










share|improve this question













marked as duplicate by don_crissti, Wildcard, Thomas Dickey, muru, αғsнιη Sep 6 at 3:12


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.














  • I think here it is! gnu.org/software/bash/manual/html_node/…
    – Goro
    Sep 5 at 21:37











  • try info bash '[['
    – Stéphane Chazelas
    Sep 5 at 21:55














up vote
1
down vote

favorite













This question already has an answer here:



  • What is the difference between the Bash operators [[ vs [ vs ( vs ((?

    6 answers



  • How to read the man page for a bash builtin? [duplicate]

    1 answer



I'm trying to find the man page for [[ (double-brackets).



Apparently man test only documents test and [.



Are the conditionals for [[ and [ are exactly the same?










share|improve this question













marked as duplicate by don_crissti, Wildcard, Thomas Dickey, muru, αғsнιη Sep 6 at 3:12


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.














  • I think here it is! gnu.org/software/bash/manual/html_node/…
    – Goro
    Sep 5 at 21:37











  • try info bash '[['
    – Stéphane Chazelas
    Sep 5 at 21:55












up vote
1
down vote

favorite









up vote
1
down vote

favorite












This question already has an answer here:



  • What is the difference between the Bash operators [[ vs [ vs ( vs ((?

    6 answers



  • How to read the man page for a bash builtin? [duplicate]

    1 answer



I'm trying to find the man page for [[ (double-brackets).



Apparently man test only documents test and [.



Are the conditionals for [[ and [ are exactly the same?










share|improve this question














This question already has an answer here:



  • What is the difference between the Bash operators [[ vs [ vs ( vs ((?

    6 answers



  • How to read the man page for a bash builtin? [duplicate]

    1 answer



I'm trying to find the man page for [[ (double-brackets).



Apparently man test only documents test and [.



Are the conditionals for [[ and [ are exactly the same?





This question already has an answer here:



  • What is the difference between the Bash operators [[ vs [ vs ( vs ((?

    6 answers



  • How to read the man page for a bash builtin? [duplicate]

    1 answer







bash






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Sep 5 at 21:33









Ahmet Alp Balkan

1496




1496




marked as duplicate by don_crissti, Wildcard, Thomas Dickey, muru, αғsнιη Sep 6 at 3:12


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.






marked as duplicate by don_crissti, Wildcard, Thomas Dickey, muru, αғsнιη Sep 6 at 3:12


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.













  • I think here it is! gnu.org/software/bash/manual/html_node/…
    – Goro
    Sep 5 at 21:37











  • try info bash '[['
    – Stéphane Chazelas
    Sep 5 at 21:55
















  • I think here it is! gnu.org/software/bash/manual/html_node/…
    – Goro
    Sep 5 at 21:37











  • try info bash '[['
    – Stéphane Chazelas
    Sep 5 at 21:55















I think here it is! gnu.org/software/bash/manual/html_node/…
– Goro
Sep 5 at 21:37





I think here it is! gnu.org/software/bash/manual/html_node/…
– Goro
Sep 5 at 21:37













try info bash '[['
– Stéphane Chazelas
Sep 5 at 21:55




try info bash '[['
– Stéphane Chazelas
Sep 5 at 21:55










2 Answers
2






active

oldest

votes

















up vote
6
down vote



accepted










Since [[ is part of the bash grammar and [ is a command built into the shell, both are documented in the bash manual itself.



[[ is documented under SHELL GRAMMAR/Compound Commands and also under CONDITIONAL EXPRESSIONS (as is [), and [ is further documented together with the test built in command under SHELL BUILTIN COMMANDS.



The test manual that you read with man test documents the external test and [ commands, probably available as /usr/bin/test and /usr/bin/[ (or possibly under /bin depending on what Unix you use).



Related:



  • What is the difference between the Bash operators [[ vs [ vs ( vs ((?





share|improve this answer






















  • In the manual, easiest would be to use the index. In info, use i, in HTML, see there. In PS/PDF printout, see at the end of the book. Don't use man for a manual of this size, there's a reason why it's called a man page.
    – Stéphane Chazelas
    Sep 5 at 22:14

















up vote
1
down vote














  1. Also useful is the help builtin. This will print 22 lines of
    info about [[:



    help [[


  2. The [ and [[ are significantly different. See What's the
    difference between [ and [[ in Bash?





share|improve this answer



























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    6
    down vote



    accepted










    Since [[ is part of the bash grammar and [ is a command built into the shell, both are documented in the bash manual itself.



    [[ is documented under SHELL GRAMMAR/Compound Commands and also under CONDITIONAL EXPRESSIONS (as is [), and [ is further documented together with the test built in command under SHELL BUILTIN COMMANDS.



    The test manual that you read with man test documents the external test and [ commands, probably available as /usr/bin/test and /usr/bin/[ (or possibly under /bin depending on what Unix you use).



    Related:



    • What is the difference between the Bash operators [[ vs [ vs ( vs ((?





    share|improve this answer






















    • In the manual, easiest would be to use the index. In info, use i, in HTML, see there. In PS/PDF printout, see at the end of the book. Don't use man for a manual of this size, there's a reason why it's called a man page.
      – Stéphane Chazelas
      Sep 5 at 22:14














    up vote
    6
    down vote



    accepted










    Since [[ is part of the bash grammar and [ is a command built into the shell, both are documented in the bash manual itself.



    [[ is documented under SHELL GRAMMAR/Compound Commands and also under CONDITIONAL EXPRESSIONS (as is [), and [ is further documented together with the test built in command under SHELL BUILTIN COMMANDS.



    The test manual that you read with man test documents the external test and [ commands, probably available as /usr/bin/test and /usr/bin/[ (or possibly under /bin depending on what Unix you use).



    Related:



    • What is the difference between the Bash operators [[ vs [ vs ( vs ((?





    share|improve this answer






















    • In the manual, easiest would be to use the index. In info, use i, in HTML, see there. In PS/PDF printout, see at the end of the book. Don't use man for a manual of this size, there's a reason why it's called a man page.
      – Stéphane Chazelas
      Sep 5 at 22:14












    up vote
    6
    down vote



    accepted







    up vote
    6
    down vote



    accepted






    Since [[ is part of the bash grammar and [ is a command built into the shell, both are documented in the bash manual itself.



    [[ is documented under SHELL GRAMMAR/Compound Commands and also under CONDITIONAL EXPRESSIONS (as is [), and [ is further documented together with the test built in command under SHELL BUILTIN COMMANDS.



    The test manual that you read with man test documents the external test and [ commands, probably available as /usr/bin/test and /usr/bin/[ (or possibly under /bin depending on what Unix you use).



    Related:



    • What is the difference between the Bash operators [[ vs [ vs ( vs ((?





    share|improve this answer














    Since [[ is part of the bash grammar and [ is a command built into the shell, both are documented in the bash manual itself.



    [[ is documented under SHELL GRAMMAR/Compound Commands and also under CONDITIONAL EXPRESSIONS (as is [), and [ is further documented together with the test built in command under SHELL BUILTIN COMMANDS.



    The test manual that you read with man test documents the external test and [ commands, probably available as /usr/bin/test and /usr/bin/[ (or possibly under /bin depending on what Unix you use).



    Related:



    • What is the difference between the Bash operators [[ vs [ vs ( vs ((?






    share|improve this answer














    share|improve this answer



    share|improve this answer








    edited Sep 5 at 21:48

























    answered Sep 5 at 21:43









    Kusalananda

    107k14209331




    107k14209331











    • In the manual, easiest would be to use the index. In info, use i, in HTML, see there. In PS/PDF printout, see at the end of the book. Don't use man for a manual of this size, there's a reason why it's called a man page.
      – Stéphane Chazelas
      Sep 5 at 22:14
















    • In the manual, easiest would be to use the index. In info, use i, in HTML, see there. In PS/PDF printout, see at the end of the book. Don't use man for a manual of this size, there's a reason why it's called a man page.
      – Stéphane Chazelas
      Sep 5 at 22:14















    In the manual, easiest would be to use the index. In info, use i, in HTML, see there. In PS/PDF printout, see at the end of the book. Don't use man for a manual of this size, there's a reason why it's called a man page.
    – Stéphane Chazelas
    Sep 5 at 22:14




    In the manual, easiest would be to use the index. In info, use i, in HTML, see there. In PS/PDF printout, see at the end of the book. Don't use man for a manual of this size, there's a reason why it's called a man page.
    – Stéphane Chazelas
    Sep 5 at 22:14












    up vote
    1
    down vote














    1. Also useful is the help builtin. This will print 22 lines of
      info about [[:



      help [[


    2. The [ and [[ are significantly different. See What's the
      difference between [ and [[ in Bash?





    share|improve this answer
























      up vote
      1
      down vote














      1. Also useful is the help builtin. This will print 22 lines of
        info about [[:



        help [[


      2. The [ and [[ are significantly different. See What's the
        difference between [ and [[ in Bash?





      share|improve this answer






















        up vote
        1
        down vote










        up vote
        1
        down vote










        1. Also useful is the help builtin. This will print 22 lines of
          info about [[:



          help [[


        2. The [ and [[ are significantly different. See What's the
          difference between [ and [[ in Bash?





        share|improve this answer













        1. Also useful is the help builtin. This will print 22 lines of
          info about [[:



          help [[


        2. The [ and [[ are significantly different. See What's the
          difference between [ and [[ in Bash?






        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Sep 6 at 2:45









        agc

        4,2721935




        4,2721935












            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?