characters
Copy Code code as follows:
# grep-n ' ^[a-z] ' regular_express.txt
6. Show end of line as point. In that line
Copy Code code as follows:
# grep-n ' \.$ ' regular_express.txt
7. Display 5-9 rows of data
Copy Code code as follows:
# Cat-an Regular_express.txt |head-n |tail-n 6
8. Show Blank Lines
Copy Code code as follows:
# grep-n ' ^$ ' regular_express.txt
9. Find G?? D string, beginning G end d of four str
Gog, Goog....gooog ... Wait
woody@xiaoc:~/tmp$ grep-n ' goo*g ' regular_express.txt
18:google is the best tools for search keyword.
19:goooooogle yes!
Search for the line at the beginning and end of G
woody@xiaoc:~/tmp$ grep-n ' g.*g ' regular_express.txt//. * Represents 0 or more arbitrary characters
1: "Open Source" is a good mechanism to develop programs.
14:the GD Software is a library for drafting programs.
18:google is the best tools for searc
data to int to restore the original encoding method.W) SELECT *,X) CONVERT (INT, userSalary)Y) FROM test 2. symmetric key:Copy codeThe Code is as follows:A) -- create a symmetric keyB) USE AdventureWorksC) GOD) CREATE Your Ric KEY SymKey123E) with algorithm = TRIPLE_DES encryption by password = 'P @ ssw0rd'F) GOG) -- Note: When enabled, you must first OPEN your Ric KEY and password, otherwise the generated data will be null. It must be used with the
search keyword.19:goooooogle yes!Search for G start and end, middle is at least one o string, namely Gog, Goog....gooog ... such as[Email protected]:~/tmp$ grep-n ' goo*g ' regular_express.txt18:google is the best tools for search keyword.19:goooooogle yes!Search for the lines of G start and end strings[Email protected]:~/tmp$ grep-n ' g.*g ' regular_express.txt//. * Denotes 0 or more arbitrary characters1: "Open Source" is a good mechanism to develo
, doing, and achieving. For example, "pattern" is a method that is the behavior of the code you wrote yesterday. It is only Gog that induces, extracts and promotes the inherent laws of these behaviors. Patterns require a certain amount of programming experience to understand. While the understanding process also requires programming experience, understanding objects also requires programming experience, and understanding MDA and SOA also requires prog
-n ' o* ' Regular_express.txt" will print out all the data on the terminal!When we need a "minimum of two o ' strings", we need ooo*, i.e.:[Email protected] ~]# grep-n ' ooo* ' regular_express.txt1: "Open Source" is a good mechanism to develop programs.2:apple I s my favorite Food.3:football game isn't use feet only.9:oh! The soup taste good.18:google is the best tools for search Keyword.19:goooooogle yes!If I want the string to start with the end is G, but two g can only exist between at least
in the middle, that is, gog, goog... gooog...Woody @ xiaoc :~ /Tmp $ grep-n'Goo * G' regular_express.txt18: google is the best tools for search keyword.19: goooooogle yes!
Search for the rows in which the string starting and ending with g is located.Woody @ xiaoc :~ /Tmp $ grep-n 'G. * G' regular_express.txt //. * Indicates 0 or multiple arbitrary characters.1: "Open Source" is a goodMechanisms to develop programs.14: The gd software is a library for
is engaged in FP, inert Computing Based JS Library (http://fitzgen.github.com/wu.js/), browser and node can be used inside. Iterators are the big data in Wu. What kind of inert computing? What about the magic horse of the iterator? The first example on the home page of this database is enlightened to answer these two questions, which is very friendly. In addition, high-order FN is also the focus. WuIt can be seen from personal names.Google Closure-pools.js
Go to Google closure, and find that it
be put, or charming; the Lotus is decorated with colorful butterflies and colorful flowers.
Wide variety of glaze bottlesThe wide variety of glaze bottles on display, products of the period of the Qing Dynasty.
The biggest characteristic of this big bottle is its wide variety of glaze colors. The entire bottle is divided into 16 glaze segments from top to bottom, and various glaze segments are separated by golden circles. The mouth of the bottle is decorated with gold, purple, and green. The ne
search keyword.19: goooooogle yes!Search for the start and end of g, with at least one o string in the middle, that is, gog, goog... gooog...Woody @ xiaoc :~ /Tmp $ grep-n 'Goo * G' regular_express.txt18: google is the best tools for search keyword.19: goooooogle yes!Search for the rows in which the string starting and ending with g is located.Woody @ xiaoc :~ /Tmp $ grep-n 'G. * G' regular_express.txt //. * Indicates 0 or multiple arbitrary characte
represent any character. However, in a regular expression, * represents 0 or more characters with different meanings.For example, oo * indicates that the first o must exist, and the second o can have one or more or no, so it represents at least one o.
Point. represents any character and must exist. G ?? D can be expressed in 'G .. d. Good, gxxd, gabd... all match.
Woody @ xiaoc :~ /Tmp $ grep-n 'G .. d' regular_express.txt1: "Open Source" is a good mechanic to develop programs.9: Oh! The soup t
in the nested table corresponding to the master table his will be deleted ==================Directly insert a nested table ============================== Insert into the (select required_reading from course_material where Department = 'his ') Values ('gog', 'ggg ', 999) ----- The red one indicates a table. Note that the preceding one must be added to indicate that the table is a nested table. ==================Directly update the nested table ==
keyword.19: goooooogle yes!
Search for the start and end of G, with at least one o string in the middle, that is, Gog, Goog... gooog...Woody @ xiaoc :~ /Tmp $ grep-N 'Goo * G' regular_express.txt18: Google is the best tools for search keyword.19: goooooogle yes!
Search for the rows in which the string starting and ending with G is located.Woody @ xiaoc :~ /Tmp $ grep-N 'G. * G' regular_express.txt //. * Indicates 0 or multiple arbitrary characters.1:
----------- Android training, Java training, and Java learning technology blog. We look forward to communicating with you! ------------
I learned the video from instructor Bi Xiangdong and made some summary here.
To put it bluntly, the decoration mode is a kind of enhancement to the original functions.
For example, if I have a base class myreader dedicated for reading
On the basis of this feature, the derived class mytextreader that specifically reads text
The derived class that specifically re
only one o between the two g, that is, Gog, Goog, gooog... and so on, what should I do?
[[emailprotected] ~]# grep -n ‘goo*g‘ regular_express.txt18:google is the best tools for search keyword.19:goooooogle yes!
If I want to find the rows starting with and ending with G, the characters in the rows can be dispensable.
[[emailprotected] ~]# grep -n ‘g.*g‘ regular_express.txt1:"Open Source" is a good mechanism to develop programs.14:The gd software is a
the project to a certain extent.
Maven is a software project management tool based on the project Object Model (POM). You can use a short description to manage project construction, reports, and documents. So strictly speaking, Maven has long gone beyond the concept of scripting language and is a tool that truly applies to engineering and project management.
Http://maven.apache.org/
Using the example on the official website, we can see that getting started is also very simple. In the future, I
characters", "o*" stands for "having empty bytes or an O or more bytes", so "Grep-n ' o* ' Regular_express.txt" will print out all the data on the terminal!When we need a "minimum of two o ' strings", we need ooo*, i.e.:[Email protected] ~]# grep-n ' ooo* ' regular_express.txt1: "Open Source" is a good mechanism to develop programs.2:apple I s my favorite Food.3:football game isn't use feet only.9:oh! The soup taste good.18:google is the best tools for search Keyword.19:goooooogle yes!If I want
the meaning of "repeating 0 or more of the preceding RE characters", "o*" stands for "having empty bytes or an O or more bytes", so "Grep-n ' o* ' Regular_express.txt" will print out all the data on the terminal!When we need a "minimum of two o ' strings", we need ooo*, i.e.:[Email protected] ~]# grep-n ' ooo* ' regular_express.txt1: "Open Source" is a good mechanism to develop programs.2:apple I s my favorite Food.3:football game isn't use feet only.9:oh! The soup taste good.18:google is the b
-n ' o* ' Regular_express.txt" will print out all the data on the terminal!When we need a "minimum of two o ' strings", we need ooo*, i.e.:[Email protected] ~]# grep-n ' ooo* ' regular_express.txt1: "Open Source" is a good mechanism to develop programs.2:apple I s my favorite Food.3:football game isn't use feet only.9:oh! The soup taste good.18:google is the best tools for search Keyword.19:goooooogle yes!If I want the string to start with the end is G, but two g can only exist between at least
) + ' | ' + FirstName + ' + LastName) from HumanResources.Employee as e joins Person.Contact as C on e.contactid = C.contactid JOIN directreports as D on e.managerid = D.employeeid ) SELECT EmployeeID, Name, Title, Employeeleve Lfrom directreports ORDER by Sort; GOG. Using Maxrecursion to cancel a statementCan be used MAXRECURSION to prevent unreasonable recursive CTE from entering an infinite loop. The following example
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.