资讯

Unix utility SED provides an effective and versatile way of deleting one or more lines from a designated file to match the needs of the user. This Unix command is used for command line processing.
sed is the command of choice for changing this to that between a set of pipes, but there are a lot more tasks you can use it for -- some that it handles much better than the more obvious choices.
We aren’t doing the next generation of Linux and Unix admins any favors by forgetting init scripts and fundamental tools ...
3. Text editing (with find and sed) Another method of text editing is with the sed command. This is another great option for searching and replacing in text files.