Article Title: SED single-line script Quick Reference (Unix stream editor ). Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems,
Sed (stream editor)
Function Description: Uses scripts to process text files.Syntax: sed [-hnV] [-e ] [-f ] [text file]Note: sed can process and edit text files according to script instructions.Parameters:-E or -- expression = processes input
sed (stream editor)
Function Description: Use script to process text files.Syntax: sed [-hnv][-e][-f][text file]Additional Note: SED can process and edit text files according to script instructions.Parameters:-e or--expression= the input text file
English title: Useful one-line SCRIPTS for SED (Unix stream editor)Original title: HANDY one-liners for SED (Unix stream editor) Finishing: Eric pement-e-mail: pemente[at]northpark[dot]edu version 5.5Translator: Joe-e-mail: hq00e[at]126[dot]com The
*intLength ()*gets the number of characters (length) in the current string, both Chinese and English*Each character is counted as a length str.length (); *intindexOf (String str)*finds the position of the given string for the first occurrence in the
1.grep and Egrep Introduction grep full name is the global Regular Expressiongrep is a powerful text search tool for searching and filtering specific characters. Support regular expressions, can help us to filter, filter the common work. and can be
A regular expression is a symbolic representation that is used to identify text patterns. The main program for Linux to process regular expressions is grep. grep searches for rows that match regular expressions and transports the results to standard
Grep Regular Expression
A regular expression is a symbolic representation used to recognize text patterns. In Linux, the main program for processing regular expressions is grep. Grep searches for the rows matching the Regular Expression and delivers
A regular expression is a notation notation used to recognize text patterns. The main program for Linux to process regular expressions is grep. grep searches for rows that match the regular expression and transports the results to standard output.1.
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.