Need advice about which tool to choose?Ask the StackShare community!

GNU Bash

1.4K
716
+ 1
8
Markdown

21.7K
16.2K
+ 1
960
Add tool

GNU Bash vs Markdown: What are the differences?

GNU Bash: Functional improvements over sh for both programming and interactive use. The Bourne Again SHell is an sh-compatible shell that incorporates useful features from the Korn shell (ksh) and C shell (csh). It is intended to conform to the IEEE POSIX P1003.2/ISO 9945.2 Shell and Tools standard; Markdown: Text-to-HTML conversion tool/syntax for web writers, by John Gruber. Markdown is two things: (1) a plain text formatting syntax; and (2) a software tool, written in Perl, that converts the plain text formatting to HTML.

GNU Bash can be classified as a tool in the "Shells" category, while Markdown is grouped under "Languages".

reddit, StackShare, and Asana are some of the popular companies that use Markdown, whereas GNU Bash is used by AgFlow, Clippings, and Lithium Technologies. Markdown has a broader approval, being mentioned in 756 company stacks & 718 developers stacks; compared to GNU Bash, which is listed in 40 company stacks and 73 developer stacks.

Decisions about GNU Bash and Markdown
Justin Dorfman
Open Source Program Manager at Reblaze · | 1 upvote · 87.8K views

If you have a file (demo.txt) that has 3 columns:

Column-1    Column-2    Column-3
Row-1a      Row-2a      Row-3a         
Row-1b      Row-2b      Row-3b
Row-1c      Row-2c      Row-3c
Row-1d      Row-2d      Row-3d
Row-1e      Row-2e      Row-3e

and you want to only view the first column of the file in your CLI, run the following:

awk {'print $1'} demo.txt

Column-1
Row-1a
Row-1b
Row-1c
Row-1d
Row-1e

If you want to print the second column of demo.txt, just replace $1 with $2

See more
Manage your open source components, licenses, and vulnerabilities
Learn More
Pros of GNU Bash
Pros of Markdown
  • 3
    Customizable
  • 3
    Powerful scripting language
  • 2
    Widely adopted
  • 0
    Cross platform
  • 345
    Easy formatting
  • 246
    Widely adopted
  • 194
    Intuitive
  • 132
    Github integration
  • 41
    Great for note taking
  • 2
    Defacto GitHub lingo

Sign up to add or upvote prosMake informed product decisions

Cons of GNU Bash
Cons of Markdown
  • 1
    Too Slow
  • 2
    Cannot centralise (HTML code needed)
  • 1
    Inconsistend flavours eg github, reddit, mmd etc
  • 1
    Limited syntax
  • 1
    Not suitable for longer documents
  • 1
    Non-extensible
  • 1
    No right indentation
  • 1
    No underline
  • 1
    Unable to indent tables

Sign up to add or upvote consMake informed product decisions

What is GNU Bash?

The Bourne Again SHell is an sh-compatible shell that incorporates useful features from the Korn shell (ksh) and C shell (csh). It is intended to conform to the IEEE POSIX P1003.2/ISO 9945.2 Shell and Tools standard.

What is Markdown?

Markdown is two things: (1) a plain text formatting syntax; and (2) a software tool, written in Perl, that converts the plain text formatting to HTML.

Need advice about which tool to choose?Ask the StackShare community!

What companies use GNU Bash?
What companies use Markdown?
Manage your open source components, licenses, and vulnerabilities
Learn More

Sign up to get full access to all the companiesMake informed product decisions

What tools integrate with GNU Bash?
What tools integrate with Markdown?

Sign up to get full access to all the tool integrationsMake informed product decisions

What are some alternatives to GNU Bash and Markdown?
JavaScript
JavaScript is most known as the scripting language for Web pages, but used in many non-browser environments as well such as node.js or Apache CouchDB. It is a prototype-based, multi-paradigm scripting language that is dynamic,and supports object-oriented, imperative, and functional programming styles.
Python
Python is a general purpose programming language created by Guido Van Rossum. Python is most praised for its elegant syntax and readable code, if you are just beginning your programming career python suits you best.
Node.js
Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient, perfect for data-intensive real-time applications that run across distributed devices.
HTML5
HTML5 is a core technology markup language of the Internet used for structuring and presenting content for the World Wide Web. As of October 2014 this is the final and complete fifth revision of the HTML standard of the World Wide Web Consortium (W3C). The previous version, HTML 4, was standardised in 1997.
PHP
Fast, flexible and pragmatic, PHP powers everything from your blog to the most popular websites in the world.
See all alternatives