Shell script talents !!! Urgent help !!! Urgent help !!! Urgent help !!!
Source: Internet
Author: User
Shell script talents !!! Urgent help !!! Urgent help !!! Urgent help !!! -- Linux general technology-Linux technology and application information. For details, refer to the following section. Shell script talents !!! Urgent help !!! Urgent help !!! Urgent help !!!
There was a number before, and the password was forgotten. I just registered a number and hope the shell script experts can give the answer!
I don't need to talk about it anymore. I want to use it right away.
The data exported by the cash register system is in the format of txt. The format and content are as follows: (6. Act as a product, and 2 are listed below)
692171435521455090040AQUA whitening repair mask AQUA whitening repair mask 5509PPPM00100. Large 09:04:22. 5930c0aquayhrfr00000000000001001100100
692171435521455090040AQUA whitening repair mask AQUA whitening repair mask 5509PPPM00100. Large 09:04:22. 5930c0aquayhrfr00000000000001001100100
........
I have three text documents, including product barcode (for example, 6921714355214), product self-encoding (for example, 55090040), and product name (for example, AQUA transparent white repair mask)
The requirements are as follows:
The content of the first field of each product details is replaced with the product barcode listed in the text.
The content of the second field of each product details is replaced with the product self-encoding listed in the text.
The content of the third field of each product details is replaced with the product name listed in the text.
The fourth field of each product details is replaced with the product name listed in the text.
The sed, awk, and loop statements are used ..
How can I modify these content in batches?
The data volume is too large to be modified. I hope you can help me. Thank you first.
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.