LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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


Reply
  Search this Thread
Old 07-31-2003, 07:28 PM   #1
jon_k
Member
 
Registered: Jul 2003
Location: Fort Worth, Texas
Distribution: Mepis Linux 2004
Posts: 547

Rep: Reputation: 30
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
 
Old 07-31-2003, 08:43 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,337

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
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.
 
Old 07-31-2003, 09:00 PM   #3
chrismiceli
Member
 
Registered: Aug 2002
Posts: 349

Rep: Reputation: 31
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.
 
Old 07-31-2003, 10:17 PM   #4
Strike
Member
 
Registered: Jun 2001
Location: Houston, TX, USA
Distribution: Debian
Posts: 569

Rep: Reputation: 31
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
printf unsigned long long int? blackzone Programming 9 03-04-2008 12:41 PM
Hello Linuxians (Don't know about oher term for Linux users) hitendra26 LinuxQuestions.org Member Intro 3 08-23-2005 03:23 PM
Good distro for long term server support chaan Linux - Distributions 2 01-20-2004 10:04 AM
Who else hates this bout *nix users? h1tman General 70 08-31-2003 04:45 PM
x term Gordon Linux - General 1 03-26-2003 10:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:14 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration