What is the meaning of double hyphen?

What is the meaning of double hyphen?

: a punctuation mark ⸗ used in place of a hyphen at the end of a line to indicate that the word so divided is normally hyphenated.

What does double dash mean in Linux?

A double-dash in a shell command signals the end of options and disables further option processing. This command outputs all occurrences of the string hello from the specified file.

What does hyphen mean in terminal?

2 Answers. 2. In this case, it means ‘standard input’. It’s used by some software (e.g. tar ) when a file argument is required and you need to use stdin instead.

What is two hyphens together called?

Using a single hyphen instead of an em dash can confuse readers and make your writing look unprofessional. If you’re writing text in a program or on a website where the em dash character is completely unavailable, use two hyphens together (–) to signify an em dash.

What is this — called?

In typography it is called an m-dash. In common English it is a dash. It can be used to separate two related phrases in a sentence. The shorter counterpart is an n-dash, used as a hyphen or a minus sign. In typography the letter m takes more space than the letter n.

What’s the meaning of the double hyphen in Linux?

What is the meaning of this double hyphen (–) in this command and in general in linux commands? “–” is used to mark the end of options and thus the beginning of arguments. It tells the command to treat everything following it as arguments and not as options, even if something may look like an option.

What’s the difference between two hyphens and a space?

And single-letter switches can be combined, which means that all of the following commands are equivalent: A double hyphen followed by a space can also be used to indicate “this is the end of commands; everything that follows is a file name, even if it looks like a command”.

What does a double dash in shell commands mean?

In this tutorial, we’re going to examine the use of the double-dash in shell commands. We’ll take a look at what it does and when we might need it. 2. What Does It Do? A double-dash in a shell command signals the end of options and disables further option processing. Let’s see this in action using the grep command.

What’s the difference between a single hyphen and a minus?

An argument that is a single hyphen–minus by itself without any letters usually specifies that a program should handle data coming from the standard input or send data to the standard output. Two hyphen–minus characters ( — ) are used on some programs to specify “long options” where more descriptive option names are used.