40 lines
734 B
Plaintext
40 lines
734 B
Plaintext
#
|
|
# COMPONENT_NAME: (CMDMAN) commands that allow users to read online
|
|
# documentation
|
|
#
|
|
# FUNCTIONS:
|
|
#
|
|
# ORIGINS: 27
|
|
#
|
|
# Copyright (c) 1980 Regents of the University of California.
|
|
# All rights reserved. The Berkeley software License Agreement
|
|
# specifies the terms and conditions for redistribution.
|
|
#
|
|
|
|
#print
|
|
Using the same scheme, print lines 2 and 3 of this file.
|
|
Then rewrite it and leave and type "ready".
|
|
#create Ref
|
|
:john adams
|
|
:thomas jefferson
|
|
:"file" 6 lines, 91 characters
|
|
#create file
|
|
george washington
|
|
john adams
|
|
thomas jefferson
|
|
james madison
|
|
james monroe
|
|
john quincy adams
|
|
#copyout
|
|
#pipe
|
|
ex +'set prompt noopt' file
|
|
#user
|
|
#unpipe
|
|
#uncopyout
|
|
tail -3 .ocopy >X1
|
|
#cmp Ref X1 3
|
|
#log
|
|
#next
|
|
8.2c 3
|
|
8.1b 8
|