BSD 4_1_snap development
[unix-history] / usr / lib / learn / editor / L60.2c
CommitLineData
3eb5d546
C
1#print
2You can use an address on the 'r' command to read input at a particular
3location in the file. Thus
4 5r name
5reads file "name" and appends its contents after line 5 o f the file.
6You can use any kind of address, including a search. Here is a file "chem".
7Find the line in file "chem" which contains the word "eight";
8read the file "more" and append it after that line. Then rewrite
9"chem" and type "ready".
10#create Ref
11 When elements combine to form compounds, the electrons in the
12outermost shell of the atoms are the only ones that take part in the
13reaction. These electrons are either transferred from the outer
14shell of one atom to the outer shell of another, or, in some cases,
15shared with the electrons in the outer shell of the second atom.
16 Whether the electrons are transfered to the second atom or shared,
17this atom completes its quota of eight electrons in the outer shell.
18 An oxide is a compound containing oxygen and one other element.
19The simplest of the oxides is H2O -- pure water, or hydrogen oxide.
20Carbon dioxide is CO2 and is formed during the burning of organic
21matter such as wood, paper, gasoline, or coal. In the same burning
22process, H2O is formed and energy is released, generally as heat,
23sometimes as light. Carbon dioxide is in the breath you just
24exhaled. This gas is given off by decaying plant and animal matter.
25Decay is a burning process.
26 Oxidation is a word that covers all the different ways things
27burn. When something oxidizes, it is burning.
28 Compounds which are formed by the interchange of electrons are
29called ionic compounds. The ions formed are said to possess
30electrovalence.
31#create chem
32 When elements combine to form compounds, the electrons in the
33outermost shell of the atoms are the only ones that take part in the
34reaction. These electrons are either transferred from the outer
35shell of one atom to the outer shell of another, or, in some cases,
36shared with the electrons in the outer shell of the second atom.
37 Whether the electrons are transfered to the second atom or shared,
38this atom completes its quota of eight electrons in the outer shell.
39 Compounds which are formed by the interchange of electrons are
40called ionic compounds. The ions formed are said to possess
41electrovalence.
42#create more
43 An oxide is a compound containing oxygen and one other element.
44The simplest of the oxides is H2O -- pure water, or hydrogen oxide.
45Carbon dioxide is CO2 and is formed during the burning of organic
46matter such as wood, paper, gasoline, or coal. In the same burning
47process, H2O is formed and energy is released, generally as heat,
48sometimes as light. Carbon dioxide is in the breath you just
49exhaled. This gas is given off by decaying plant and animal matter.
50Decay is a burning process.
51 Oxidation is a word that covers all the different ways things
52burn. When something oxidizes, it is burning.
53#user
54#cmp chem Ref
55#log
56#next
5760.2d 5