[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
www/fun/jokes helloworld.html
From: |
Joakim Olsson |
Subject: |
www/fun/jokes helloworld.html |
Date: |
Thu, 10 Jan 2008 15:36:43 +0000 |
CVSROOT: /web/www
Module name: www
Changes by: Joakim Olsson <jocke> 08/01/10 15:36:43
Modified files:
fun/jokes : helloworld.html
Log message:
Templated.
CVSWeb URLs:
http://web.cvs.savannah.gnu.org/viewcvs/www/fun/jokes/helloworld.html?cvsroot=www&r1=1.6&r2=1.7
Patches:
Index: helloworld.html
===================================================================
RCS file: /web/www/www/fun/jokes/helloworld.html,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- helloworld.html 28 May 2007 11:08:13 -0000 1.6
+++ helloworld.html 10 Jan 2008 15:36:26 -0000 1.7
@@ -1,65 +1,45 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
-<HTML>
-<HEAD>
-<meta http-equiv="content-type" content="text/html; charset=utf-8">
-<TITLE>Hello World ! - GNU Project - Free Software Foundation (FSF)</TITLE>
-<LINK REV="made" HREF="mailto:address@hidden">
-</HEAD>
-<BODY BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#1F00FF" ALINK="#FF0000"
VLINK="#9900DD">
-
-<H3>Hello World !</H3>
-
-<A HREF="/graphics/gleesons.html"><IMG SRC="/graphics/gleeson_head.jpg"
- ALT=" [colorful rounded image of the Head of a GNU]"
- WIDTH="153" HEIGHT="128"></A>
-
-[ <A HREF="/fun/jokes/helloworld.html">English</A>
-| <A HREF="/fun/jokes/helloworld.ko.html">Korean</A>
-]
-
-<!-- When using this boilerplate, remember to replace the
- "JokeTITLE" in both places above.
- And if it's a song, not a joke, change that word in the Disclaimer.
+<!--#include virtual="/server/header.html" -->
-HERE IS THE BODY OF THE JOKE
--->
+<title>Hello World ! - GNU Project - Free Software Foundation (FSF)</title>
-<HR>
+<!--#include virtual="/server/banner.html" -->
-<P>
+<h2>Hello World !</h2>
+
+<p>
How the way people code "Hello World" varies depending on their age and job:
-</P>
+</p>
-<H4>High School/Jr.High</H4>
+<h4>High School/Jr.High</h4>
-<PRE>
+<pre>
10 PRINT "HELLO WORLD"
20 END
-</PRE>
+</pre>
<h4>First year in College</h4>
-<PRE>
+<pre>
program Hello(input, output)
begin
writeln('Hello World')
end.
-</PRE>
+</pre>
-<H4>Senior year in College</h4>
+<h4>Senior year in College</h4>
-<PRE>
+<pre>
(defun hello
(print
(cons 'Hello (list 'World))))
-</PRE>
+</pre>
<h4>New professional</h4>
-<PRE>
+<pre>
#include <stdio.h>
void main(void)
@@ -71,11 +51,11 @@
printf("\n");
}
-</PRE>
+</pre>
-<H4>Seasoned professional</h4>
+<h4>Seasoned professional</h4>
-<PRE>
+<pre>
#include <iostream.h>
#include <string.h>
class string
@@ -121,11 +101,11 @@
return(0);
}
-</PRE>
+</pre>
<h4>System Administrator</h4>
-<PRE>
+<pre>
#include <stdio.h>
#include <stdlib.h>
main()
@@ -141,11 +121,11 @@
tmp[9]=(char)i;
printf("%s\n",tmp);
}
-</PRE>
+</pre>
-<H4>Apprentice Hacker</h4>
+<h4>Apprentice Hacker</h4>
-<PRE>
+<pre>
#!/usr/local/bin/perl
$msg="Hello, world.\n";
if ($#ARGV >= 0) {
@@ -159,62 +139,62 @@
print ($msg);
}
1;
-</PRE>
+</pre>
-<H4>Experienced Hacker</h4>
+<h4>Experienced Hacker</h4>
-<PRE>
+<pre>
#include <stdio.h>
#include <string.h>
#define S "Hello, World\n"
main(){exit(printf(S) == strlen(S) ? 0 : 1);}
-</PRE>
+</pre>
-<H4>Seasoned Hacker</h4>
+<h4>Seasoned Hacker</h4>
-<PRE>
+<pre>
% cc -o a.out ~/src/misc/hw/hw.c
% a.out
Hello, world.
-</PRE>
+</pre>
-<H4>Guru Hacker</h4>
+<h4>Guru Hacker</h4>
-<PRE>
+<pre>
% cat
Hello, world.
-</PRE>
+</pre>
-<H4>New Manager (do you remember?)</h4>
+<h4>New Manager (do you remember?)</h4>
-<PRE>
+<pre>
10 PRINT "HELLO WORLD"
20 END
-</PRE>
+</pre>
-<H4>Middle Manager</h4>
+<h4>Middle Manager</h4>
-<PRE>
+<pre>
mail -s "Hello, world." address@hidden
Bob, could you please write me a program that prints "Hello, world."?
I need it by tomorrow.
^D
-</PRE>
+</pre>
-<H4>Senior Manager</h4>
+<h4>Senior Manager</h4>
-<PRE>
+<pre>
% zmail jim
I need a "Hello, world." program by this afternoon.
-</PRE>
+</pre>
-<H4>Chief Executive</h4>
+<h4>Chief Executive</h4>
-<PRE>
+<pre>
% letter
letter: Command not found.
% mail
@@ -224,74 +204,85 @@
% damn!
!: Event unrecognized
% logout
-</PRE>
+</pre>
<h4>Research Scientist</h4>
-<PRE>
+<pre>
PROGRAM HELLO
PRINT *, 'Hello World'
END
-</PRE>
+</pre>
<h4>Older research Scientist</h4>
-<PRE>
+<pre>
WRITE (6, 100)
100 FORMAT (1H ,11HHELLO WORLD)
CALL EXIT
END
-</PRE>
-
-<HR>
-
-<P>
-<A HREF="/fun/humor.html">Other humor</A>
-in the GNU Humor Collection.
-
-
-<H4>Disclaimer</H4>
-
-The joke on this page was obtained
-from the FSF's
-<A HREF="http://mail.gnu.org/">email archives</A>
-of the GNU Project.
-<BR>
-The Free Software Foundation claims no copyrights on this joke.
-
-<P>
-<!--
- * If needed, change the copyright block at the bottom. In general, all pages
- on the GNU web server should have the section about verbatim copying.
Please
- do NOT remove this without talking with the webmasters first.
--->
-<HR>
-
-Return to <A HREF="/home.html">GNU's home page</A>.
-<P>
+</pre>
-Please send FSF & GNU inquiries & questions to
+<p>
+<a href="/fun/humor.html">Other humor</a>
+in the GNU Humor Collection.</p>
+
+<div class="infobox">
+<h4 id="Disclaimer">Disclaimer</h4><p>The joke on this page was
+obtained from the FSF's <a href="http://lists.gnu.org/">email
+archives</a> of the GNU Project.</p>
+<p>The Free Software Foundation claims no copyright on this joke.</p>
+</div>
+
+</div>
+
+<!--#include virtual="/server/footer-min.html" -->
+
+<div id="footer">
+<p>
+Please send FSF & GNU inquiries to
+<a href="mailto:address@hidden"><em>address@hidden</em></a>. There are
+also <a href="http://www.fsf.org/about/contact.html">other ways to
+contact</a> the FSF.
+<br />
+Please send broken links and other corrections (or suggestions) to
+<a href="mailto:address@hidden"><em>address@hidden</em></a>.
+</p>
+
+<p>
+Please see the
+<a href="/server/standards/README.translations">Translations
+README</a> for information on coordinating and submitting
+translations of this article.
+</p>
-<A HREF="mailto:address@hidden"><EM>address@hidden</EM></A>.
-There are also <A HREF="http://www.fsf.org/about/contact.html">other ways to
-contact</A> the FSF.
-<P>
-
-Please send comments on these web pages to
-
-<A HREF="mailto:address@hidden"><EM>address@hidden</EM></A>,
-send other questions to
-<A HREF="mailto:address@hidden"><EM>address@hidden</EM></A>.
-
-<P>
-Copyright © 1999, 2001, 2002, 2006 Free Software Foundation, Inc.,
-51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
-
-<P>
-Verbatim copying and distribution of this entire article is
-permitted in any medium, provided this notice is preserved.
-
-<P>
+<p>
Updated:
<!-- timestamp start -->
-$Date: 2007/05/28 11:08:13 $ $Author: jocke $
+$Date: 2008/01/10 15:36:26 $
<!-- timestamp end -->
-<HR>
-</BODY>
-</HTML>
+</p>
+</div>
+
+<div id="translations">
+<h4>Translations of this page</h4>
+
+ <!-- Please keep this list alphabetical, and in the original -->
+ <!-- language if possible, otherwise default to English -->
+ <!-- If you do not have it English, please comment what the -->
+ <!-- English is. If you add a new language here, please -->
+ <!-- advise address@hidden and add it to -->
+ <!-- - in /home/www/bin/nightly-vars either TAGSLANG or WEBLANG -->
+ <!-- - in /home/www/html/server/standards/README.translations.html -->
+ <!-- one of the lists under the section "Translations Underway" -->
+ <!-- - if there is a translation team, you also have to add an alias -->
+ <!-- to mail.gnu.org:/com/mailer/aliases -->
+ <!-- Please also check you have the 2 letter language code right versus -->
+ <!-- http://www.w3.org/WAI/ER/IG/ert/iso639.htm -->
+
+<ul class="translations-list">
+<!-- English -->
+<li><a href="/fun/jokes/helloworld.html">English</a> [en]</li>
+<li><a href="/fun/jokes/helloworld.ko.html">Korean</a> [ko]</li>
+</ul>
+
+</div>
+</div>
+</body>
+</html>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- www/fun/jokes helloworld.html,
Joakim Olsson <=