Linked Questions

8 votes
2 answers
2k views

Man page quotation characters [duplicate]

I've just been looking through a few man pages for a few different commands including grep and ifconfig. I've noticed over a few pages, the content uses a strange syntax to notate what i think are ...
Matt's user avatar
  • 223
0 votes
3 answers
483 views

Is it normal to use the grave (`) symbol, followed by an apostraphe (') to quote? [duplicate]

For example, 'foo bar' would be quoted as `foo bar', or ``foo bar''. Is it encouraged or general practice to use this quoting syntax? It seems to be quite common in some documentation.
Marco Scannadinari's user avatar
1 vote
1 answer
205 views

Manual pages uses the quotation : `<character/string>' (quoting string inside grave accent and apostrophe) [duplicate]

I've found that many manpages uses the quotation :  `c/s' i.e quoting character or sting inside grave accent(`) & apostophe('). Example visit manpage of bash, find etc. and you'll find the ...
Pandya's user avatar
  • 23.7k
3 votes
0 answers
143 views

Why some strings are quoted with double backticks and double single quotes in man pages? [duplicate]

For example, in the yes man page: yes outputs expletive, or, by default, ``y'' Why is "y" quoted this way?
laurent's user avatar
  • 1,838
1 vote
0 answers
137 views

Where does backtick and single quote come from when denoting commands e.g. `prog'? [duplicate]

When referring to commands in tutorials, man pages, and articles I see authors use the backtick and single quote in this way: `./configure' `make' I believe I have seen gcc denote points of failure ...
jonschipp's user avatar
  • 253
0 votes
0 answers
48 views

Why Linux uses `blah' to quote strings by convention? [duplicate]

While I was reading the document of some Linux utilities, I found that they always quote strings using ` and '. For example, below is an excerpt from the man page of the find utility. -exec ...
Fajela Tajkiya's user avatar
0 votes
0 answers
30 views

Why does this error message open with a ` char, but close with a ' char? [duplicate]

GNU bash, version 3.2.57(1)-release (x86_64-apple-darwin21) In a new bash shell, I tried to declare a function but saw the following error: syntax error near unexpected token `str' I'm curious why ...
Richie Thomas's user avatar
9 votes
3 answers
23k views

batch convert mp3 files to wav using sox

for a single .mp3, I can convert it to wav using sox ./input/filename.mp3 ./output/filename.wav I tried: #!/bin/bash for i in $(ls *mp3) do sox -t wav $i waves/$(basename $i) done But it ...
kRazzy R's user avatar
  • 259
5 votes
3 answers
539 views

Quoting commands

As I've learned to use Linux over the years, I've repeatedly come across the idiom of quoting commands with a leading backtick (`) and a following single quote ('), like so: `rm -rf /tmp/foo/bar' (I ...
David Krider's user avatar
14 votes
1 answer
966 views

Why bash encapsulates syntax error both with grave accent and with an apostrophe?

When bash is reporting a syntax error, it encapsulates the text which has raised the syntax error both with grave accent and with an apostrophe, like this: `...'. Any idea why? Here's an example: $ ...
Bach's user avatar
  • 827
1 vote
3 answers
607 views

How can 'man' render double quotes not as doubled backtick and prime characters?

When I do a command such as: man bash I see quotes shown as: ``...'' There have been posts about why this happens: Man page quotation characters Why some strings are quoted with double backticks ...
Steve Amerige's user avatar
4 votes
1 answer
154 views

Why do shells use a backtick for an opening quote in much of their output?

$ type -a short_command short_command is aliased to `some_long_and_obnoxious_command_that_I_never_want_to_type' Why does Bash (and perhaps every other shell) frequently—as above—use a ...
iconoclast's user avatar
  • 8,977