10. Perl 4.0のcomp.sources.miscのネットニュース記事
• http://ftp.fi.netbsd.org/pub/misc/archive/comp.sources.misc/volume18/perl/
Path:
funic!news.funet.fi!sunic!mcsun!unido!fauern!ira.uka.de!sol.ctr.columbia.edu!samsung!usc!
cs.utexas.edu!uunet!sparky!kent
From: lwall@netlabs.com (Larry Wall)
Newsgroups: comp.sources.misc
Subject: v18i019: perl - The perl programming language, Part01/36
Message-ID: <1991Apr15.015207.6491@sparky.IMD.Sterling.COM>
Date: 15 Apr 91 01:52:07 GMT
Sender: kent@sparky.IMD.Sterling.COM (Kent Landfield)
Organization: NetLabs, Inc.
Lines: 1250
Approved: kent@sparky.imd.sterling.com
X-Checksum-Snefru: afd48341 45aaf0a0 c8af2495 9685a77c
Submitted-by: Larry Wall <lwall@netlabs.com>
Posting-number: Volume 18, Issue 19
Archive-name: perl/part01
[There are 36 kits for perl version 4.0.]
This is being posted at patchlevel 3. -Kent+]
Perl is a language that combines some of the features of C, sed, awk and shell.
#! /bin/sh
# Make a new directory for the perl sources, cd to it, and run kits 1
# thru 36 through sh. When all 36 kits have been run, read README.
[
echo "This is perl 4.0 kit 1 (of 36). If kit 1 is complete, the line"
echo '"'"End of kit 1 (of 36)"'" will echo at the end.'
echo ""
export PATH || (echo "You didn't use sh, you clunch." ; kill $$)
mkdir eg eg/sysvipc h2pl msdos os2 t t/op usub 2>/dev/null
echo Extracting os2/README.OS2
sed >os2/README.OS2 <<'!STUFFY!FUNK!' -e 's/X//'
X Notes on the OS/2 Perl port
X
X Raymond Chen
X (rjc@math.princeton.edu)
X
X Kai Uwe Rommel
X (rommel@lan.informatik.tu-muenchen.dbp.de)
X
X-1. Background.
X
XThis port was based on the MS-DOS port by Diomidis Spinellis.
X
X0. Set-up.
X
XFirst copy the files in the os2 directory into the parent
Xdirectory. Also install the file msdos/dir.h in your include
Xdirectory.
X
X1. Compiling.
X
11. そのころの開発環境
• マシンはSunのSparc Station 1 (SS-1)
• メモリはたぶん16メガバイト
• ディスクは500メガバイトくらいか?
• 3人で、PC9801からログインして使用
• X windowはインストールしたが、普段は使わなかった
• エディタはEmacs (Nemacs)を使っていた。
• Eight Megs And Constantly Swapping
21. Little-Endianを見ると
• Little-Endian
• From Swift, someone who eats eggs little end first. Also used of computers that
store the least significant byte of a word at a lower byte address than the most
significant byte. Often considered superior to big-endian machines. See also Big-
Endian.
• リトルエンディアン
• スウィフトの作品に登場する、タマゴをlittle end(トガっているほう)から食べ始
める人のこと。また転じて、ワードのうち最下位バイトを、最上位バイトより低位
のバイトアドレスに格納するコンピュータのこと。しばしばビッグエンディアンマ
シンよりも優れていると考えられている。ビッグエンディアンも参照。
• これは第4版でもこのまま。
• 第2版、第3版では訳注を入れた(余計なお世話?)
• 「ガリバー旅行記」のこと。Little-endianは、この作品に登場するリリパット人の正
統派である。
22. Loopを見ると
• Loop
• A syntactic construct that can make things happen more than once.
See Loop.
• ループ
• 物事を何回も起こるようにするための構文上の構造。ループを見よ。
• いわゆる「再帰」。ありがちといえばありがち。
23. Loop Labelを見ると
• Loop Label
• The nutritional information on the side of the popular (at
Randal’s house) cereal box. Or, a kind of key or name attached to
a loop so that loop control statements can talk about which loop
they want to control.
• ループラベル
• (Randal家で)人気のあるシリアルの箱の脇に書いてある栄養成分表
のこと。あるいは、ループ制御文から対象となるループを指定できる
ように、ループにつけたキーの一種または名前のこと。
• これは何?
25. 単なるダジャレ:翻訳不能のものも
• Parameter
• What you get when you cross paramedic and meter maid. See also
Argument, which is what you get when you just cross a meter maid.
• パラメータ
• Paramedicとmeter maidを交配させて得られるもの*1。あなたが婦人
警官に逆らうときに起こる言い争い(引数)も見よ*2。
• 注釈を付けた
• *1 paramedicは看護助手。Meter maidは駐車違反を取り締まる婦人
警官。要するに単なるダジャレである。
• *2 これはargumentが「引数」と「言い争う」の2つの意味を持つこ
とをかけている。