|
|
1.1 root 1: �capitalizes entered letters until end of word [MACRO]
2:
3: Joe Steffen, ihuxs!steffen, IH x5381, Version 4.3
4:
5: Lowercase letters are converted to uppercase until a character besides
6: a lower or uppercase letter, underscore, hyphen, or backspace is entered.
7: This character is then executed. Uppercase letters, underscores, and hyphens
8: are inserted as is, whereas backspace deletes the previous character.
9:
10: � $4 = 1
11: ^� while ($4 == 1)
12: $0 = getchar()
13: 0�-<caps
14: |� condition list:
15: �7~5~0�a0~0�z if (islower($0))
16: 0� insert $0 into the buffer
17: capitalize it
18: �
19: �7~5~0�A0~0�Z if (isupper($0))
20: 0� insert $0 into the buffer
21: �
22: �~0�_ if ($0 == '_')
23: 0� insert $0 into the buffer
24: �
25: �~0�- if ($0 == '-')
26: 0� insert $0 into the buffer
27: �
28: �~0� if ($0 == '')
29: backspace
30: �
31: � default
32: �0 $4 = 0
33: � execute the command in $0
34: �
35: � end condition list
36: 0 display the character
37: � end loop
38:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.