Wildcard metacharacters or periods (.) are considered equivalent to variables. A variable represents any value in an arithmetic expression. In regular expressions, a period (.) is a wildcard that represents any character other than a newline character (in awk, a period can even match an embedded newline character).
Suppose we are describing a sequence of characters, using wildcard metacharacters to specify a location where any character can be filled. For example, if you want to retrieve a discussion file containing an Intel system microprocessor, use the following regular expression: 80.86 will match the line containing the sequence "80286,", "80386," or "80486.". In order to match a decimal point or a period, you must escape the "spot" with a backslash.
Matching any character at the beginning or end of a pattern is useless. Therefore, wildcard characters are usually placed before or after characters or other metacharacters. For example, the regular expression written below searches for a sequence of chapters: chapter. It searches for <; 'chapter' followed by a string of arbitrary characters”. In some searches, this expression may have the same match as the fixed string pattern "chapter". Take a look at the following example:
$grep 'Chapter.' sampleyou will find several examples in Chapter 9."Quote me ' Chapter and Verse' ," she said.Chapter Ten
"chapter" matches the string, and using "chapter" will also match the same line. However, there is a different situation if one "chapter" appears at the end of the line.
Command Introduction Shutdown, poweroff, reboot, halt, init can be shut down, approximate
All files in the Linux system are shielded by the virtual file system (VFS) mechanism. Users
caused by Linux clone virtual machine The virtual machine Vmware cloned a Red Hat Enterpris
Use yum to install the scheduled task function. The result is prompted:
Copy the code
The code is as follows:
# yum -y install vixie-cron
Loaded plugins: fastestmirror, refresh-pa
Grep yum root 6744 0.0 0.0 103260 900 pts/1 S+ 14:59 0:00 grep yum root 25960 0.0 0.0 0 0 ? Z Sep19
Linux forgot the root password solution
Detailed instructions for linuxvi common commands
Linuxshell implements script to automatically clean up rman backup files
Linux process management related content
The tool bootchart that records the Linux boot process
Linux modify the partition name created during installation
Linux vi editor command Daquan
Windows 10 Build 10162 pushes to the Slow Ring channel
Win10 9879 running steam platform game crash using compatibility mode is not
Microsoft wants Win7 to stop selling reasons today
How to display the application store application (Modern application)
Method for handling sethc.exe intrusion
Win10: "Operation Center" turned into "Security and Maintenance"
Solving computer failure disk format conversion has a high trick
How do I download MV for my music? Cool music MV download tutorial