1 |
neysx 05/10/31 13:47:46 |
2 |
|
3 |
Modified: xml/htdocs/doc/en/articles l-awk3.xml |
4 |
Log: |
5 |
#111001 Fixed link. Cut&Paste of original abstract |
6 |
|
7 |
Revision Changes Path |
8 |
1.6 +13 -12 xml/htdocs/doc/en/articles/l-awk3.xml |
9 |
|
10 |
file : http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/articles/l-awk3.xml?rev=1.6&content-type=text/x-cvsweb-markup&cvsroot=gentoo |
11 |
plain: http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/articles/l-awk3.xml?rev=1.6&content-type=text/plain&cvsroot=gentoo |
12 |
diff : http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/articles/l-awk3.xml.diff?r1=1.5&r2=1.6&cvsroot=gentoo |
13 |
|
14 |
Index: l-awk3.xml |
15 |
=================================================================== |
16 |
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/articles/l-awk3.xml,v |
17 |
retrieving revision 1.5 |
18 |
retrieving revision 1.6 |
19 |
diff -u -r1.5 -r1.6 |
20 |
--- l-awk3.xml 9 Oct 2005 17:13:23 -0000 1.5 |
21 |
+++ l-awk3.xml 31 Oct 2005 13:47:46 -0000 1.6 |
22 |
@@ -1,5 +1,5 @@ |
23 |
<?xml version='1.0' encoding="UTF-8"?> |
24 |
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/articles/l-awk3.xml,v 1.5 2005/10/09 17:13:23 rane Exp $ --> |
25 |
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/articles/l-awk3.xml,v 1.6 2005/10/31 13:47:46 neysx Exp $ --> |
26 |
<!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> |
27 |
|
28 |
<guide link="/doc/en/articles/l-awk3.xml" disclaimer="articles"> |
29 |
@@ -10,11 +10,12 @@ |
30 |
</author> |
31 |
|
32 |
<abstract> |
33 |
-In this sequel to his previous intro to awk, Daniel Robbins continues to explore |
34 |
-awk, a great language with a strange name. Daniel will show you how to handle |
35 |
-multi-line records, use looping constructs, and create and use awk arrays. By |
36 |
-the end of this article, you'll be well versed in a wide range of awk features, |
37 |
-and you'll be ready to write your own powerful awk scripts. |
38 |
+In this conclusion to the awk series, Daniel introduces you to awk's important |
39 |
+string functions, and then shows you how to write a complete |
40 |
+checkbook-balancing program from scratch. Along the way, you'll learn how to |
41 |
+write your own functions and use awk's multidimensional arrays. By the end of |
42 |
+this article, you'll have even more awk experience, allowing you to create more |
43 |
+powerful scripts. |
44 |
</abstract> |
45 |
|
46 |
<!-- The original version of this article was published on IBM developerWorks, |
47 |
@@ -22,8 +23,8 @@ |
48 |
version of the original article, and contains various improvements made by the |
49 |
Gentoo Linux Documentation team --> |
50 |
|
51 |
-<version>1.3</version> |
52 |
-<date>2005-10-09</date> |
53 |
+<version>1.4</version> |
54 |
+<date>2005-10-31</date> |
55 |
|
56 |
<chapter> |
57 |
<title>String functions and ... checkbooks?</title> |
58 |
@@ -488,7 +489,7 @@ |
59 |
|
60 |
<p> |
61 |
If you look at these functions, you'll notice that the array referenced by |
62 |
-mybalance is passed in my reference. In addition, we also refer to several |
63 |
+mybalance is passed in by reference. In addition, we also refer to several |
64 |
global variables: curmonth, which holds the numeric value of the month of the |
65 |
current record, $2 (the expense category), $3 (the income category), and amount |
66 |
($7, the dollar amount). When doincome() and friends are called, all these |
67 |
@@ -679,11 +680,11 @@ |
68 |
Patrick Hartigan's <uri link="http://sparky.rice.edu/~hartigan/awk.html">awk |
69 |
tutorial</uri> is packed with handy awk scripts. |
70 |
</li> |
71 |
-<!-- FIXME 404 - i looked around google for it, no success |
72 |
<li> |
73 |
- <uri link="http://www.teleport.com/~thompson">Thompson's TAWK Compiler</uri> compiles awk scripts into fast binary executables. Versions are available |
74 |
+ <uri link="http://www.tasoft.com/tawk.html">Thompson's TAWK Compiler</uri> |
75 |
+ compiles awk scripts into fast binary executables. Versions are available |
76 |
for Windows, OS/2, DOS, and UNIX. |
77 |
- </li>--> |
78 |
+ </li> |
79 |
<li> |
80 |
<uri link="http://www.gnu.org/software/gawk/manual/gawk.html">The GNU Awk |
81 |
User's Guide</uri> is available for online reference. |
82 |
|
83 |
|
84 |
|
85 |
-- |
86 |
gentoo-doc-cvs@g.o mailing list |