1 03/11/76 length, len
2
3 Function: The length command prints the number of words in the current
4 file. One word is equal to four characters including punctuation
5 spacing and newline characters. If the total number of characters is
6 not a multiple of four, the last word will contain fewer than four
7 characters. The smallest unit of storage on Multics is a record. A
8 record consists of 1024 words. In the example shown, the user has used
9 one record even though only 12 words were required by the file.
10
11
12 Syntax: length
13
14
15 Example:
16
17 ! 100 How many
18 ! 110 words are
19 ! 120 in this file?
20 ! length
21 "no name" length = 12 words 1 record
22 ready 0707