The shell can recognize 4 different types of caret symbols: single quote character ' double quote character ' backslash character \ Inverted quote character '
1. Single quotation mark (')
# grep Susan Phonebook
Susan Goldberg 403-212-4921
Susan Topple 212-234-2343
If we're looking for Susan Goldberg and can't use the grep Susan Goldberg Phonebook command directly, grep treats Goldberg and phonebook as files to search for
# grep ' Susan Gold ' phonebook
Susan Goldberg 403-212-4921
When the shel
There are three types of quotes in the shell: single quotes, double quotes, and anti-quotes. The single quotation mark ' character nonalphanumeric, enclosed by single quotes, appears as a normal character. When special characters are enclosed in single
Or the old routine to say the cause of things, because the first of the various quotes under Linux is not particularly sensitive, resulting in the day I add Database field errors, the reason for the error was that I used a single quotation mark in the outermost package, Then a sentence in which the need to change the meaning of the place can not be transferred to cause the error.Let's start with a single quote.Single quotes:In order to protect the tex
One, single and double quotation marksBoth single and double quotes are meant to solve the problem of having spaces in the middle.Because the space in Linux as a very typical delimiter, such as String1=this is astring, so execution will be error. To avoid this problem, single and double quotes are generated. Their difference is that the singleThe quotation marks deprive the special meaning of all characters
How to use Word software to make calligraphy copybook
1. Create Copybook
As shown in Figure 1, click the "file" → "new" → "Calligraphy copybook" button, create a copybook document, open the "Add or Subtract Characters" dialog box.
Figure 1 Creating the Copybook document
2, select the font, add text
Figure 2, click the calligraphy font → Select the fon
Word2013 How to make calligraphy copybook
Step 1th, open the Word2013 window, click the file → new button, and select the calligraphy copybook option on the new tab.
Step 2nd, open the Add or Subtract Character dialog box, select the calligraphy font or system font option in the Font area, and select the font you want in the Font list. In the Sort o
In the conduct of various calligraphy, leaflets, posters, such as processing, often used to some calligraphy effect, calligraphy seal, such as the effect of processing, this tutorial focused on a number of examples of these several examples, in the follow-up to some of the promotional color page works design will be a lot of use, interested in learning friends ca
1. Single quotation mark (')grep403-212-4921212-234-2343If we're looking for Susan Goldberg and can't use the grep Susan Goldberg Phonebook command directly, GREP will treat Goldberg and phonebook as files that need to be searchedgrep ' Susan Gold ' 403-212-4921When the shell encounters the first single quotation mark, it ignores any special characters that fall behind until the closing quotation mark2. Double quotation marks ("")Double quotation marks are similar to single
First of all, three single and double quotes in Python are not real annotations>>> type ("" "abcde" "")class'str' >>>> type ('abcd')class' Str '>This allows you to see three pairs of single, double quotes that have a data typeThree pairs of single, double quotes are defined when multiple lines of string can be defined"" "" "print (a) ABCD A pair of single, doubl
1. There is no difference between single and double quotation marks. Can be used just for convenience, reduce write too many escape characters.Like what:str='let\ ' s go! ' str="let' s go! "Two kinds of equivalence, but the second is obviously more elegant.2. Three double quotation marks are used to enter multiple lines of text, that is, the content entered between the three quotation marks will be preserved, the number and double quotation marks are not escaped, in which the invisible character
In Python, strings can be enclosed in single quotes or double quotes, which are equivalent, while in PHP, some of the single and double quotes are not the same, although the expression of the string, but in PHP single quotation mark resolution faster than double quotation marks.
If you need to represent a string object in Python, there is no difference between si
Anti-QuoteThe anti-quote bit (') is located above the TAB key of the keyboard, to the left of the 1 key. Note the difference between the single quotation mark (') on the left side of the ENTER key.Plays the role of command substitution in Linux. Command substitution refers to the ability of the shell to interpolate the standard output of a command anywhere on a command line.as follows, the shell executes the date command in the anti-quotation marks and inserts the result into the content display
The anti-quote bit (') is located above the TAB key of the keyboard, to the left of the 1 key. Note the difference between the single quotation mark (') on the left side of the ENTER key.Plays the role of command substitution in Linux. Command substitution refers to the ability of the shell to interpolate the standard output of a command anywhere on a command line.as follows, the shell executes the date command in the anti-quotation marks and inserts the result into the content displayed by the
The anti-quote bit (') is located above the TAB key of the keyboard, to the left of the 1 key. Note the difference between the single quotation mark (') on the left side of the ENTER key.Plays the role of command substitution in Linux. Command substitution refers to the ability of the shell to interpolate the standard output of a command anywhere on a command line.as follows, the shell executes the date command in the anti-quotation marks and inserts the result into the content displayed by the
Shell double quotes, single quotes, back quotes, backslashes1. Double quotes ""• Use double quotation marks to refer to any character or string other than $, ', \, character[Email protected] ~]# name= "Yuanji"[Email protected] ~]# echo "Hello, $name"Hello,yuanji2. Single quote '• Similar to double quotation marks, the
Original: http://blog.csdn.net/iamlaosong/article/details/54728393
Recently, to compile a shell script to process the data, you need to detect the existence of the data file, the file name contains the date, so you need to generate the date of the last few days, in order to detect the existence of the file, see how the following script in the use of double quotes, single quotes, anti-
extracting fonts from word2013 calligraphy Step 1: Open Word 2013 and you will find a calligraphy copybook function as shown in the figure.
Extracting fonts from word2013 Calligraphy Step 2: Click In, you will find that there are many calligraphy fonts are quite good, how to these
Single quotation marksPurpose: In order to protect the text from being converted. That is, except for the single quote, all the text inside the single quotation marks is output as is.1. [[email protected] sp49ep9]# echo ' $*>$*>2. [[email protected] sp49ep9]# echo ' She's crying: ' Help 'She is crying: "Help"3. [[Email protected] sp49ep9]# echo ' \\\\ '\\\\4. [[Email protected] sp49ep9]# echo ' hah ' test 'Hah Test #略去了所有 '5. [[Email protected] sp49ep9]# echo ' Today is ' date 'Today is ' Date '
1.single and double quotation marks are used for the user to assign a string with a space to the delimiter of the variable. [email protected] sh]# str= "Today is Monday"[email protected] sh]# echo $strToday is MondayIf there is no single or double quotation marks, the shell interprets the string after the space as a command. [email protected] sh]# Str=today is MondayBash:is:command not found2, the difference between single and double quotation marks. Single
Variables contain special symbols, plus single quotesMyname= ' Zhu Jiasheng 'The variable itself is enclosed in single quotes, with double quotation marksMyname= "Zhu ' Jia ' shng"Add the contents of other variables, double quotation marks are requiredName=jiashengMyname= "$NAME" ZhuEcho $mynameJiashengzhuYou need to use the result of other commands, using the back quotation marksMyname= ' pwd 'Echo $myname/rootShell variables single
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.