Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

For some reason when I paste text into terminal it strips out single quotes. I also can't type single quotes. Double quotes seem to work fine. I don't have any problems with other programs AND when I work remotely on an SSH connection I can write/paste single quotes. I also get an 'error' noise when I try to type of paste a single quote.

Any ideas what could be going on?

share|improve this question
    
What shell are you using? Have you changed its configuration recently? Or has it always been like that? – slhck Sep 13 '13 at 20:25
    
I just noticed it a few days ago while trying to work out an awk command. However, I don't type single quotes very often. I'm using bash. – Nick Crawford Sep 13 '13 at 22:14
    
Which terminal emulator are you pasting into? xterm? Gnome terminal? Also, what happens when you type two single quotes in a row? – wingedsubmariner Sep 14 '13 at 14:12

Looks like it's a bug in homebrew's bash recipe as I managed to fix this by uninstalling homebrew's bash.

Time for a drink perhaps?!

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .