First, homework (exercise) content:
1, summarize the text editing tool vim use method;Vim
(1). Command Explanation: Patterned editor
(2). There are a number of different modes:
Edit mode: Command mode
Input mode: Insert
Linux Text Processing Three musketeers:grep: Text Filtering toolSed: Text editorawk: Text Report Generator, awk implementation on Linux GawkGrep:Function: Text Search tool, according to user-specified "pattern" line to search for target text, print
Summary of the use of grep and examples of how to display
Basic usage: grep is used as a text search tool to search the target text row by line based on user-specified filters (written by metacharacters and text characters of the regular
1.grep command1.1 grep [OPTIONS] PATTERN [FILE ...] :Parameters:--color=auto: highlighting the matching characters;-V: The display mode does not match the row;-I: ignore character case;-O: Displays only strings that can be matched to the pattern;-Q:
File Lookup:The process of locating a qualifying file on a file system;File Finder: Locate, findLocate: A non-real-time lookup tool that relies on a pre-built index, which is built automatically when the system is idle (periodic tasks), manually
1. mysql DDL statements Case of characters in MySQLSQL keywords and function names are case-insensitive;Database, table, index, and view names are case-sensitive depending on the low-level OS and FS;stored procedures, stored functions,
1. Introduction to SEDSed is an online editor that processes a single line of content at a time. When processing, the currently processed rows are stored in a temporary buffer called pattern space, followed by the SED command to process the contents
What is a regular expression: The regular expression is the filtering of the finished data, rejecting the data that is not satisfied with the regular expression definition, leaving the data that matches the regular expression.Metacharacters
Linux file wrapping is expressed in $, Windows is represented by $+enter, so the Linux text is usedWindows Notepad is open with only one line;CAT-E can see that the end of a line has $Cat-n Show number of linesTail-f can view the appended content in
Regular Expressions (REGGXP):A regular expression is a filtering logic (that is, a pattern) of a string. is a pattern written by metacharacters and normal characters, in which the metacharacters do not represent the meaning of the character itself,
grep is a powerful text search tool under Linuxgrep: (Global search Regular expression (RE) and print out of the linePrinciple: According to the user-specified text pattern, the text is searched line by line, displaying the rows that are matched by
This is a programming hint encountered, learning a blogger's code, some of which are not understood, the analysis is resolved.First what is Huffman tree:Huffman tree, also known as the optimal binary tree, is a kind of tree with the shortest length
As we all know, in PHP (PHP 4 and later), we can use the function define () to define constants, for example:
However, after PHP 5.3.0, in addition to using function define (), we can also use the PHP keyword const to define constants.
For example:
Phpstormis a commercial PHP integrated development tool developed by JetBrains Company,
Phpstormcan help users adjust their coding, run unit tests or provide visual debug functionality at any time. The following items are organized
PhpstormShortcut
The following small series for everyone to bring an article based on the PHP string Operation function Collection. Small series feel very good, now share to everyone, also for everyone to make a reference. Let's take a look at it with a little
1 Find the character position function:
Strpos ($str, Search,[int]): Find the first position of search in $str starting with int;
Stripos ($str, search,[int]): function returns the position of the first occurrence of a string in another string. This
This is a creation in
Article, where the information may have evolved or changed.
Note: The author of this article is Katrina Owen, the original address is iota:elegant Constants in Golang
Some concepts have names, and sometimes we focus
Today encountered the same problem resolved hereby recordedIn the face of messy XML or HTML code, how to neatly format it? In addition to formatting in Visual Studio and Dreamweaver, there is an alternative to using the notepad++ plug-in textfx.
ObjectiveI think in the online most famous regular related article is "Regular expression 30 minutes introductory Tutorial", to tell the truth this article is indeed my regular introduction, but with the use of skilled, lengthy articles can not meet
Database environment: SQL SERVER 2005We do this by merging the data contents of the same group into a single row, through the for XML path.With data 1, to achieve the effect of Figure 21. The For XML path implementation of Figure 1 to Figure 2There
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.