Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
07-31-2003, 07:28 PM
|
#1
|
Member
Registered: Jul 2003
Location: Fort Worth, Texas
Distribution: Mepis Linux 2004
Posts: 547
Rep:
|
to all long-term *nix users
a bit off topic, but i'm sure one of you will know
why do some UNIX people quote things like this
``quoted text"
why do they use the backtick and then the quote character, never understood this exactly
|
|
|
07-31-2003, 08:43 PM
|
#2
|
LQ Guru
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,381
|
The reason is probably buried deep in the arcane syntax of script commands. When you write bash scripts parts of the commands are interpreted by bash and parts are parameters to the command and parts are data to the command. The nesting order of back ticks, double quotes, and single quotes determines which level of software does what with the gibberish you type in.
I suppose using that syntax in normal communications is a secret sign that you actually have the script syntax rules memorized.
Last edited by jailbait; 07-31-2003 at 08:46 PM.
|
|
|
07-31-2003, 09:00 PM
|
#3
|
Member
Registered: Aug 2002
Posts: 349
Rep:
|
I read that they do that because they don't want to tell bash that it is the end of the quote, and before you could escape it with \" they just though `` looked close enough.
|
|
|
07-31-2003, 10:17 PM
|
#4
|
Member
Registered: Jun 2001
Location: Houston, TX, USA
Distribution: Debian
Posts: 569
Rep:
|
Actually, why I do it (when I do it, which isn't often) has nothing to do with bash scripting, it has to do with LaTeX. That's the way you make the real quotes that you see surrounding quotes in most typeset literature. " renders just like you see it here, as two small vertical ticks, whereas `` '' renders like two rotated apostrophes and two normal apostrophes.
|
|
|
All times are GMT -5. The time now is 08:00 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|