Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8501293
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T01:10:21+00:00 2026-06-11T01:10:21+00:00

I have seen some bash/shell comments use the notation # Some comment block that

  • 0

I have seen some bash/shell comments use the notation

#  Some comment block that starts on line 1, but then
#+ continues on line 2 with this silly plus sign.

#  And this is another comment line that is not related to the ones above

Does the “#+” help with any kind of parser (like how Doxygen-style comments are used to auto-generate documentation)?

Is this a common practice? I understand that it doesn’t hurt anything to include/exclude it, as far as the actual script execution goes, but I’m curious if there are advantages to adopting this style of commenting.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T01:10:22+00:00Added an answer on June 11, 2026 at 1:10 am

    According to the Advanced Bash-Scripting Guide, it looks like this is one of several comment headers one can use to improve clarity and legibility in scripts. This tidbit is presented in the “Assorted Tips” section of the guide:

    Use special-purpose comment headers to increase clarity and legibility in scripts.

    Here are several of the ones they list in the example block from the guide:

    ## Caution.
    rm -rf *.zzy   ##  The "-rf" options to "rm" are very dangerous,
                   ##+ especially with wild cards.
    
    #+ Line continuation.
    #  This is line 1
    #+ of a multi-line comment,
    #+ and this is the final line.
    
    #* Note.
    
    #o List item.
    
    #> Another point of view.
    while [ "$var1" != "end" ]    #> while test "$var1" != "end"
    

    Apparently some people find these little bits helpful, but I personally don’t see much benefit in doing it.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have seen some developers use the return statement in a catch block. Why/when
I have seen some applications that use a servlet to serve the images. What
I have seen some samples using var_dump, but I I would rather use a
I have seen some articles that show how to use AlternationIndex with ListBox es
I have seen some people in SO commenting that Singleton Pattern is an anti-pattern.
I have seen some related questions but none focusing on the specific problem I
I have seen some instances where people will say you have to use JS
i have seen some hand rolled solutions but does jquery out of the box
I have seen some of the other answers on this topic but dont really
I have seen some demos about the jQuery wizard plugin on websites. But all

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.