Common operations built into Linux shell strings (get length, find, replace)

Source: Internet
Author: User

String-related operations are often involved in writing shell programs. There are many command statements, such as awk,sed , that are capable of doing string operations. In fact, the shell built a series of symbols to achieve similar effects, using internal operators will omit the start of external programs and other time, so the speed will be very fast. If the built-in operator is able to do this, use the built-in precedence.

1 Inference Read String value

Common operations built into Linux shell strings (get length, find, replace)

Related Article

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.