From http://blog.csdn.net/shuangde800
This article takes notes when you learn how to use the VI Editor, prepared by Lamb & Robbins.
Content:Basic global replacement confirm replacement context-related replacement
This article stipulates:$ + Command
Q:
Hello, script expert! How can I compare the modification date of a local file with the copy on the file server, and replace it with the version on the file server if the version of the local file is older?
-- DC
A:
Hello, DC. Let's think about it.
This article mainly introduces the method of replacing variables with the regular expression replace in js. Recently, the project has been heavy and the blog will be updated slowly, but I hope to share my accumulation with you, for more information
XP has an invincible command to replace the replace of a file, and can be replaced even with a file in use. Very invincible. For example, create a directory C: \ aaa under c:, copy an mp3 file to c: aaa and name it c: \ aaa \ a.mp3, then copy
Ask:
Hello, Scripting Guy! How do I compare the modified date of a local file to a copy on a file server, and replace it with a version on the file server if the local file is older?
--DC
For:
Hello, DC. Let's think about it, you want to replace
XP has a very invincible command to replace the file replacement, and even the files you are using can be replaced. Very invincible. For example: Build a directory in C: c:\aaa, then copy a mp3 to C:AAA and name it C:\aaa\a.mp3, then copy another
SedSED is a powerful text-processing toolYou can use regular matching, insert and delete text, and so on.When SED is processed, one row at a time, each time the current processing is stored in a temporary buffer, the output buffer content to the
SedSED is a powerful text-processing toolBe able to use regular matching. Insert and delete changes to textWhen SED is processed, one line is processed at a time, and each time the current processing is stored in a temporary buffer. After processing
Sed
SED is a powerful text-processing tool
You can use a regular match to insert the text to delete changes, and so on
When SED is processed, one line is processed at a time, each time the current processing is stored in a temporary buffer, the
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.