LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-28-2004, 04:38 AM   #1
timainge
LQ Newbie
 
Registered: Apr 2004
Posts: 3

Rep: Reputation: 0
quotaion marks


i have recently installed mandrake 9.2 as my first linux distro and am having a ball, however i am somewhat perplexed with the quotation mark system. i find that if i try to type " or ' nothing happens unless i type a space afterwards. if i type another character i find that nothing happens (not quote or character) however i then discovered that if i hit it twice it has the desired affect, at least that is what i thought until i started some html, to view the source it looked fine, but when selecting the properties of a broken link i would see that when i had "double tapped" there was an %A8 or something. is this a bug or a feature, can i fix/disable or is there a reason why i should be learning to use it.

thanks in advance for you avise
dazzed and confused
tim
 
Old 05-01-2004, 03:25 PM   #2
adamwenner
Member
 
Registered: Aug 2003
Distribution: windows xp home, windows 98, red hat 9, fedora core 3, redhat enterprise linux, win2000 pro/server
Posts: 217

Rep: Reputation: 32
this is something that is not understood by many (including myself)

the single quote turns off pathname expansion

you ask what this means, good question, i am in a linux class and no one understood that chapter, but thats what it is

vagueness :-D
 
Old 05-01-2004, 05:29 PM   #3
wapcaplet
LQ Guru
 
Registered: Feb 2003
Location: Colorado Springs, CO
Distribution: Gentoo
Posts: 2,018

Rep: Reputation: 48
In what context are you getting this behavior? In the shell, in the GUI, in a text-editor, etc.? I've never experienced it. Whenever I type a quote, I get a quote
 
Old 05-01-2004, 06:01 PM   #4
adamwenner
Member
 
Registered: Aug 2003
Distribution: windows xp home, windows 98, red hat 9, fedora core 3, redhat enterprise linux, win2000 pro/server
Posts: 217

Rep: Reputation: 32
im referring to in the shell
 
Old 05-01-2004, 09:50 PM   #5
wapcaplet
LQ Guru
 
Registered: Feb 2003
Location: Colorado Springs, CO
Distribution: Gentoo
Posts: 2,018

Rep: Reputation: 48
Maybe it's something to do with your terminal emulator. Are you using xterm, rxvt, konsole...? I guess it's also possible that your shell is doing it, though unless you've taken steps to switch your login shell, it's probably bash, which doesn't do any funky quote stuff as far as I know.
 
Old 05-01-2004, 10:27 PM   #6
adamwenner
Member
 
Registered: Aug 2003
Distribution: windows xp home, windows 98, red hat 9, fedora core 3, redhat enterprise linux, win2000 pro/server
Posts: 217

Rep: Reputation: 32
\ Protects the next character from being interpreted by the shell.

"..." Protects enclosed characters from being interpreted by the shell, with the exceptions of the $, !, and ` (backtick) characters.

'...' Protects all enclosed characters from being interpreted by the shell.[list]
 
Old 05-01-2004, 10:43 PM   #7
timainge
LQ Newbie
 
Registered: Apr 2004
Posts: 3

Original Poster
Rep: Reputation: 0
quotes

thanks guys for your ideas, wapcaplet i experience this behaviour at all times using KDE, whether it be in OpenOffice, Mozzilla, or Konsole.

when i type shit + " + space i get an "

when i type shit + " + " i get an ¨

all i know is that it behaves the way i would expect with a space and is a real pain in the arse with a double tap, so ie got used to useing the space method, i don mind it, but i would like some insight into this "quirk¨.

thanks again

tim
 
Old 05-01-2004, 10:51 PM   #8
wapcaplet
LQ Guru
 
Registered: Feb 2003
Location: Colorado Springs, CO
Distribution: Gentoo
Posts: 2,018

Rep: Reputation: 48
Wow, hmm. Maybe it's an issue of your keyboard not being configured correctly? That should really not be happening in all of your applications.

I think adamwenner is thinking of something different - yes, in the shell, quotes are interpreted in a special way in different contexts. But what timainge is saying is that there are problems with just getting them to appear on the screen normally.
 
Old 05-01-2004, 11:06 PM   #9
timainge
LQ Newbie
 
Registered: Apr 2004
Posts: 3

Original Poster
Rep: Reputation: 0
oh shit....

sorry guys that was meant to be "shift"

and thanks again if anyone can shed more lightr on the situation
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
no quotation marks jdoe9898 Linux - Newbie 1 10-12-2005 03:07 AM
Quotation marks and strings - in C lazyuser Programming 5 01-25-2005 08:14 AM
Iptables with 3 marks. It is possible? thucalila Linux - Networking 2 12-04-2004 03:34 AM
Iptables with 3 marks. It is possible? thucalila Linux - Networking 0 12-01-2004 09:11 AM
Need help with book marks Silverw0lf Linux - General 1 10-18-2003 01:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:05 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration