| User Functions |
|
Don't have an account yet? Sign up as a New User
|
|
| Events |
|
There are no upcoming events |
|
|
 |
 |
 |
 |
| CLI Magic: Who Sed that? |
|
Monday, January 24 2005 @ 06:01 PM EST Contributed by: glosser
|
Linux.com brings us the next chapter in their Command Line Interface series...a tutorial on "sed". Sed allows for replacement/modification of text in "streams" which can be from many sources including files.
Wake up, you lolly-gagging Gui-gophers, or you'll miss what's being Sed. If you haven't used Sed before, you're missing a powerful jewel. It's a fast and useful tool. First, a confession. Before writing this column I had never used it. I wasn't even sure what it did. Now, I'm an expert. Come on, I'll tell you all about it.
So what is Sed? I could lie and say it's an editor for Field and Stream, but that would only be partially true. It's the GNU Stream Editor. That is, the data to be edited is passed by the editor instead of the other way around. One time. Top to bottom. Start to finish. Get it? Sed acts on the file once, as it passes by. Full tutorial
|
|
| |
| [ Views: 1368 ] |
|
|
 |
 |
 |
 |
|
|
We have written a
range of guides highlighting excellent free
books for popular programming languages. Check out the
following guides: C,
C++,
C#,
Java,
JavaScript,
CoffeeScript,
HTML,
Python,
Ruby,
Perl,
Haskell,
PHP,
Lisp,
R,
Prolog,
Scala,
Scheme, and SQL.
|
|
|
|