1 |
nightmorph 08/01/09 01:31:32 |
2 |
|
3 |
Modified: l-awk1.xml |
4 |
Log: |
5 |
patch from bug 204946, as well as a couple of other small improvements to that paragraph |
6 |
|
7 |
Revision Changes Path |
8 |
1.7 xml/htdocs/doc/en/articles/l-awk1.xml |
9 |
|
10 |
file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/articles/l-awk1.xml?rev=1.7&view=markup |
11 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/articles/l-awk1.xml?rev=1.7&content-type=text/plain |
12 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/articles/l-awk1.xml?r1=1.6&r2=1.7 |
13 |
|
14 |
Index: l-awk1.xml |
15 |
=================================================================== |
16 |
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/articles/l-awk1.xml,v |
17 |
retrieving revision 1.6 |
18 |
retrieving revision 1.7 |
19 |
diff -u -r1.6 -r1.7 |
20 |
--- l-awk1.xml 9 Oct 2005 17:13:23 -0000 1.6 |
21 |
+++ l-awk1.xml 9 Jan 2008 01:31:32 -0000 1.7 |
22 |
@@ -1,5 +1,5 @@ |
23 |
<?xml version='1.0' encoding="UTF-8"?> |
24 |
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/articles/l-awk1.xml,v 1.6 2005/10/09 17:13:23 rane Exp $ --> |
25 |
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/articles/l-awk1.xml,v 1.7 2008/01/09 01:31:32 nightmorph Exp $ --> |
26 |
<!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> |
27 |
|
28 |
<guide link="/doc/en/articles/l-awk1.xml" disclaimer="articles"> |
29 |
@@ -21,8 +21,8 @@ |
30 |
version of the original article, and contains various improvements made by the |
31 |
Gentoo Linux Documentation team --> |
32 |
|
33 |
-<version>1.3</version> |
34 |
-<date>2005-10-09</date> |
35 |
+<version>1.4</version> |
36 |
+<date>2008-01-08</date> |
37 |
|
38 |
<chapter> |
39 |
<title>An intro to the great language with the strange name</title> |
40 |
@@ -56,13 +56,17 @@ |
41 |
<title>The first awk</title> |
42 |
<body> |
43 |
|
44 |
+<pre caption="The first awk"> |
45 |
+$ <i>awk '{ print }' /etc/passwd</i> |
46 |
+</pre> |
47 |
+ |
48 |
<p> |
49 |
You should see the contents of your <path>/etc/passwd</path> file appear before |
50 |
your eyes. Now, for an explanation of what awk did. When we called awk, we |
51 |
specified <path>/etc/passwd</path> as our input file. When we executed awk, it |
52 |
-evaluated the print command for each line in <path>/etc/passwd</path>, in |
53 |
-order. All output is sent to stdout, and we get a result identical to catting |
54 |
-<path>/etc/pass</path>. |
55 |
+evaluated the print command for each line in <path>/etc/passwd</path>, in order. |
56 |
+All output is sent to stdout, and we get a result identical to <c>cat</c>ting |
57 |
+<path>/etc/password</path>. |
58 |
</p> |
59 |
|
60 |
<p> |
61 |
|
62 |
|
63 |
|
64 |
-- |
65 |
gentoo-doc-cvs@l.g.o mailing list |