2012年9月28日
摘要:
We have talked about the g flag, with which we can change every string that matches the pattern line by line instead of the first one. Now Let me introduce other flags to you. examples: 1.echo "This... 阅读全文
posted @ 2012-09-28 13:48
Neoh
阅读(470)
评论(0)
推荐(0)
摘要:
Look at the parts of the sed command. We may be surprised for the replace string which is not the regular pattern. Yes, at most of the time we may know the correct words to reaplace the pattern. But w... 阅读全文
posted @ 2012-09-28 12:22
Neoh
阅读(280)
评论(0)
推荐(0)
摘要:
With the substitution command, we can handle 90% of the most frequent uses of sed. But there are so many features that we cannot miss it! Delimiter is one of them. We can see the examples that use sla... 阅读全文
posted @ 2012-09-28 12:22
Neoh
阅读(333)
评论(0)
推荐(0)
摘要:
These days, I find the companies think highly of Linux operating abilities. And I do forget the features of Linux bash shell while I was writing the automatic hadoop setting tools. Consequently, I wan... 阅读全文
posted @ 2012-09-28 12:21
Neoh
阅读(990)
评论(0)
推荐(0)
摘要:
sed is a special editor modifying files automatically. If you want to write a program to make changes in a file, sed is the tool to use. Now, I introduce the most basic command that called substitutio... 阅读全文
posted @ 2012-09-28 12:19
Neoh
阅读(418)
评论(0)
推荐(0)