|
Lines 1-4
Link Here
|
| 1 |
<?xml version='1.0' encoding="UTF-8"?> |
1 |
<?xml version="1.0" encoding="UTF-8"?> |
| 2 |
<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/articles/l-sed3.xml,v 1.5 2005/10/09 17:13:23 rane Exp $ --> |
2 |
<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/articles/l-sed3.xml,v 1.5 2005/10/09 17:13:23 rane Exp $ --> |
| 3 |
<!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> |
3 |
<!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> |
| 4 |
|
4 |
|
|
Lines 10-19
Link Here
|
| 10 |
</author> |
10 |
</author> |
| 11 |
|
11 |
|
| 12 |
<abstract> |
12 |
<abstract> |
| 13 |
Sed is a very powerful and compact text stream editor. In this article, the |
13 |
In this conclusion of the sed series, Daniel Robbins gives you a true taste of |
| 14 |
second in the series, Daniel shows you how to use sed to perform string |
14 |
the power of sed. After introducing a handful of essential sed scripts, he'll |
| 15 |
substitution; create larger sed scripts; and use sed's append, insert, and |
15 |
demonstrate some radical sed scripting by converting a Quicken .QIF file into a |
| 16 |
change line commands. |
16 |
text-readable format. This conversion script is not only functional, it also |
|
|
17 |
serves as en excellent example of sed scripting power. |
| 17 |
</abstract> |
18 |
</abstract> |
| 18 |
|
19 |
|
| 19 |
<!-- The original version of this article was published on IBM developerWorks, |
20 |
<!-- The original version of this article was published on IBM developerWorks, |
|
Lines 21-28
Link Here
|
| 21 |
version of the original article, and contains various improvements made by the |
22 |
version of the original article, and contains various improvements made by the |
| 22 |
Gentoo Linux Documentation team --> |
23 |
Gentoo Linux Documentation team --> |
| 23 |
|
24 |
|
| 24 |
<version>1.2</version> |
25 |
<version>1.3</version> |
| 25 |
<date>2005-10-09</date> |
26 |
<date>2008-10-19</date> |
| 26 |
|
27 |
|
| 27 |
<chapter> |
28 |
<chapter> |
| 28 |
<title>Taking it to the next level: Data crunching, sed style</title> |
29 |
<title>Taking it to the next level: Data crunching, sed style</title> |
|
Lines 338-344
Link Here
|
| 338 |
</pre> |
339 |
</pre> |
| 339 |
|
340 |
|
| 340 |
<p> |
341 |
<p> |
| 341 |
into one that looks like thist: |
342 |
into one that looks like this: |
| 342 |
</p> |
343 |
</p> |
| 343 |
|
344 |
|
| 344 |
<pre caption="First line after change"> |
345 |
<pre caption="First line after change"> |
|
Lines 576-586
Link Here
|
| 576 |
link="http://www.student.northpark.edu/pemente/sed/sedfaq.html">sed FAQ</uri>. |
577 |
link="http://www.student.northpark.edu/pemente/sed/sedfaq.html">sed FAQ</uri>. |
| 577 |
</li> |
578 |
</li> |
| 578 |
<li> |
579 |
<li> |
| 579 |
You can find the sources to sed 3.02 at |
580 |
You can find the latest sources to sed at <uri> |
| 580 |
<uri>ftp://ftp.gnu.org/pub/gnu/sed</uri>. |
581 |
ftp://ftp.gnu.org/pub/gnu/sed</uri>. |
| 581 |
</li> |
|
|
| 582 |
<li> |
| 583 |
You'll find the nice, new sed 3.02.80 at <uri>ftp://alpha.gnu.org</uri>. |
| 584 |
</li> |
582 |
</li> |
| 585 |
<li> |
583 |
<li> |
| 586 |
Eric Pement also has a handy list of <uri |
584 |
Eric Pement also has a handy list of <uri |
|
Lines 599-614
Link Here
|
| 599 |
tutorial</uri>. |
597 |
tutorial</uri>. |
| 600 |
</li> |
598 |
</li> |
| 601 |
--> |
599 |
--> |
|
|
600 |
<!-- DEAD link |
| 602 |
<li> |
601 |
<li> |
| 603 |
Brush up on <uri link="http://vision.eng.shu.ac.uk/C++/misc/regexp/">using |
602 |
Brush up on <uri link="http://vision.eng.shu.ac.uk/C++/misc/regexp/">using |
| 604 |
regular expressions</uri> to find and modify patterns in text in this free, |
603 |
regular expressions</uri> to find and modify patterns in text in this free, |
| 605 |
dW-exclusive tutorial. |
604 |
dW-exclusive tutorial. |
| 606 |
</li> |
605 |
</li> |
|
|
606 |
--> |
| 607 |
</ul> |
607 |
</ul> |
| 608 |
|
608 |
|
| 609 |
</body> |
609 |
</body> |
| 610 |
</section> |
610 |
</section> |
| 611 |
</chapter> |
611 |
</chapter> |
| 612 |
|
|
|
| 613 |
</guide> |
612 |
</guide> |
| 614 |
|
|
|