nightmorph 08/01/09 01:31:32 Modified: l-awk1.xml Log: patch from bug 204946, as well as a couple of other small improvements to that paragraph
Revision Changes Path 1.7 xml/htdocs/doc/en/articles/l-awk1.xml file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/articles/l-awk1.xml?rev=1.7&view=markup plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/articles/l-awk1.xml?rev=1.7&content-type=text/plain diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/articles/l-awk1.xml?r1=1.6&r2=1.7 Index: l-awk1.xml =================================================================== RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/articles/l-awk1.xml,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- l-awk1.xml 9 Oct 2005 17:13:23 -0000 1.6 +++ l-awk1.xml 9 Jan 2008 01:31:32 -0000 1.7 @@ -1,5 +1,5 @@ <?xml version='1.0' encoding="UTF-8"?> -<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/articles/l-awk1.xml,v 1.6 2005/10/09 17:13:23 rane Exp $ --> +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/articles/l-awk1.xml,v 1.7 2008/01/09 01:31:32 nightmorph Exp $ --> <!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> <guide link="/doc/en/articles/l-awk1.xml" disclaimer="articles"> @@ -21,8 +21,8 @@ version of the original article, and contains various improvements made by the Gentoo Linux Documentation team --> -<version>1.3</version> -<date>2005-10-09</date> +<version>1.4</version> +<date>2008-01-08</date> <chapter> <title>An intro to the great language with the strange name</title> @@ -56,13 +56,17 @@ <title>The first awk</title> <body> +<pre caption="The first awk"> +$ <i>awk '{ print }' /etc/passwd</i> +</pre> + <p> You should see the contents of your <path>/etc/passwd</path> file appear before your eyes. Now, for an explanation of what awk did. When we called awk, we specified <path>/etc/passwd</path> as our input file. When we executed awk, it -evaluated the print command for each line in <path>/etc/passwd</path>, in -order. All output is sent to stdout, and we get a result identical to catting -<path>/etc/pass</path>. +evaluated the print command for each line in <path>/etc/passwd</path>, in order. +All output is sent to stdout, and we get a result identical to <c>cat</c>ting +<path>/etc/password</path>. </p> <p> -- [email protected] mailing list
