sed function __sed

Source: Internet
Author: User
sed function

all sed function parameters table syntax:

function Arguments function
: Label Establish the reference position of the instruction jump within the script
# Add a Comment
{} Collection commands with the same address parameters
! Do not perform function arguments
= Print the number of data rows
A\ Add data entered by a consumer
B Label To jump the executed instruction to: label
C\ Replacing data with user-entered data
D Delete data
D Delete data from the first Neweline letter \ Before the pattern spaces
G Copy data from Hold space
G Add information, from hold space to pattern spaces
H Copy information, from pattern spaces to hold space
H Add information, from pattern spaces to hold space
L Print 1 data in ASCII code nonprinting character
I\ Insert data rows that add consumer input
N Read the next piece of information
N Add next data to pattern spaces
P Print information
P Print data for the first newline letter \ before the pattern spaces
Q Jump out of SED editor
R Read the contents of the document
S Replace string
T label Executes a replacement edit instruction first, and if it is replaced with P, the edit instruction jumps to: label to execute
W Write data to a document
X Interactive hold space and pattern spaces content
y conversion (transform) character

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.