Linux programming tool Summary-Linux general technology-Linux programming and kernel information, the following is a detailed description. SED and AWK
In general, sed is a more advanced data stream pattern matching and processing tool than grep, but its basic operations are for "rows" and sometimes not very convenient.
Awk can perform C-like programming and output new data streams.
Both awk and sed are used for pattern matching.
In programming, awk is generally used as a macro processor, and even awk is used as an advanced language compiler.
Awk also plays a major role in database processing. But I can't help it anymore.
Lex and yacc
In linux, it corresponds to flex and bison. VS2005 has debugging support for both scripts, which is very convenient!
Lex is used for lexical analysis, while yacc uses lex results for in-depth syntax analysis. The two must be used in combination. No overlapping functions.
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.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service