|
|
1.1 root 1: #print
2: Back early in this sequence we made clear that
3: the shell (the normal command interpreter) and the
4: editor were distinct and they didn't pay any attention
5: to each other's commands.
6: Sometimes you are in the editor and you really want
7: to execute a shell command. You can do that
8: by prefixing it with !. For example,
9: !ls
10: will list your directory.
11: Remember that "date" is the shell command
12: to find out what time it is.
13: Try editing the file 'bridge'; print it out,
14: then, without leaving the editor, ask for the
15: time and then leave the editor and say "ready".
16: #create bridge
17: brooklyn
18: manhattan
19: williamsburg
20: queensborough
21: george washington
22: triborough
23: bronx whitestone
24: throgs neck
25: #copyout
26: #user
27: #uncopyout
28: grep '[A-Z].. [A-Z].. .. [0-9][0-9]:[0-9][0-9]:[0-9][0-9] ' .ocopy >/dev/null
29: #log
30: #next
31: 74.1a 10
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.