projects
/
unix-history
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
BSD 3 development
[unix-history]
/
usr
/
lib
/
learn
/
editor
/
L7.2c
#print
Now, print the fourth line in this file twice,
using the same pattern. The file is the same,
and you should put the usual finish (w, q, ready)
after printing the line.
#create Ref
4p
.p
w
q
#create file
george washington
john adams
thomas jefferson
james madison
james monroe
john quincy adams
#pipe
#copyin
ed file
#user
#uncopyin
#unpipe
tail -4 .copy >X1
#cmp X1 Ref
#log
#next
8.1a 10
8.2a 5