grep or Egrep or awk filters two or more keywords | using grep to match "and" or "or" mode 2011-06-23 14:06
grep or Egrep or awk filters two or more keywords:Grep-e ' 123|abc ' filename/find the line containing 123 or ABC in the file
Linux regular expressions-Basic Regular Expressions (based on grep)
Linux regular expression:
In short, regular expressions are a set of rules and methods defined to process a large number of strings. For example, suppose @ represents 123456 ,!
Linux Regular Expressions:In short, a regular expression is a set of rules and methods that are defined for processing a large number of strings, such as assuming @ represents 123456,! for ABCDE. By defining these special symbols, the system
Grep command Chinese manual (info grep translation), grep Chinese manual
1. This article is the info man translation, which is basically translated according to the original text. There are several unavailable options that are not translated, but
1. The role of the grep command in Linux is a powerful text search tool that can use regular expressions to search for text and print matching rows. The grep full name is global Regular Expression Print, which represents the global regular
Http://man.chinaunix.net/newsoft/grep/open.htm
1 grep Introduction
grep (Global search Regular expression (RE) and print out of the line, a comprehensive search for regular expressions and print out rows) is a powerful text search tool that uses
1.grep Introductiongrep (Global search Regular expression (RE) and print out of the line, full search of regular expressions and print out rows) is a powerful text search tool that uses regular expressions to search for text. and print out the
Sort out grep practical text search and filtering skills
I. Introduction to grep:
The text search tool performs a row-by-row search on the target file based on the text mode specified by the user to display the rows that can be matched by the mode.
Function Description: Search for matching strings in the file.
Syntax:Grep [-Abcefghhillnqrsvvwxy] [-A ] [-B ] [-C ] [-D ] [-E ] [-F ] [-- help] [template style] [file or folder...]
Note:GrepCommand is used to search for files whose content
Function Description: Search for matching strings in the file.
Syntax:Grep [-Abcefghhillnqrsvvwxy] [-A ] [-B ] [-C ] [-D ] [-E ] [-F ] [-- help] [template style] [file or folder...]
Note:GrepCommand is used to search for files whose content
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.