Top "Quoting" questions

The use of quotation marks (typically, `'` or `"`) to mark tokens as string literals or strings subject to interpolation, or to treat multiple whitespace-separated tokens as a single unit.

How to escape single quotes within single quoted strings

Let's say, you have a Bash alias like: alias rxvt='urxvt' which works fine. However: alias rxvt='urxvt -fg '#111111…

bash syntax quoting
I just assigned a variable, but echo $variable shows something else

Here are a series of cases where echo $var can show a different value than what was just assigned. This …

bash shell sh quoting
What Vim command(s) can be used to quote/unquote words?

How can I quickly quote/unquote words and change quoting (e.g. from ' to ") in Vim? I know about …

vim quoting
bash : cd : too many arguments

if i need to go to my directory named as"exception handling" then i write (cd exception handling) but it …

bash cd quoting
Build a JSON string with Bash variables

I need to read these bash variables into my JSON string and I am not familiar with bash. any help …

json bash quoting
Sed gives: sed: can't read : No such file or directory

I have the following bash script which repeats for each image found. It needs to iterated over all html, css …

bash sed quoting gnu-sed
Write CSV To File Without Enclosures In PHP

Is there a native function or solid class/library for writing an array as a line in a CSV file …

php csv quotes quoting
Raising error in postgreSQL

CREATE OR REPLACE FUNCTION msgfailerror() RETURNS trigger AS ' BEGIN IF NEW.noces< new.first_column THEN RAISE EXCEPTION …

postgresql plpgsql quoting
How to escape the single quote character in an ssh / remote bash command?

I'm building a small set of scripts for remotely starting, stopping and checking the status of a process. The stop …

bash ssh quoting
How to properly nest Bash backticks

Either I missed some backlash or backlashing does not seem to work with too much programmer-quote-looping. $ echo "hello1-`echo …

bash shell unix quoting