代码搜索:L
找到约 10,000 项符合「L」的源代码
代码结果 10,000
www.eeworm.com/read/101082/6243238
1c l50.1c
#print
You can use other commands than 'p' with these
context search addresses, of course. For example,
/abc.e/s/ab/xx/p
will
(1) search for the next line containing the
expression "abc.e", wh
www.eeworm.com/read/101082/6243239
2e l35.2e
#print
A very powerful construction is ".*",
which matches any character (remember '.')
repeated any number of times. For example
s/a.*b/.../
replaces anything of the forms
axyzb, aaaaaab, a1
www.eeworm.com/read/101082/6243240
2d l70.2d
#print
There is another file of cities with ZIP codes and states
in this directory, but it was typed in wrong. Some cities
in New Jersey are labeled as being in New York. However the
ZIP codes are r
www.eeworm.com/read/101082/6243245
2b l6.2b
#print
Same thing again, but this time print the
fifth line in the file. Then type 'w', 'q',
and "ready".
#create Ref
:james monroe
#create file
george washington
john adams
thomas jefferson
james ma
www.eeworm.com/read/101082/6243246
2f l70.2f
#print
Remember the search for blank lines with nothing on them? /^$/.
Pick up the file "table" and delete all blank lines; then rewrite
it and type "ready".
#create Ref
Albany NY 12201
Atlanta GA 303
www.eeworm.com/read/101082/6243252
2c l34.2c
#print
Does [abc] match 'a'? Answer "yes" or "no"?
#copyin
#user
#uncopyin
#match yes
#log
#next
34.2d 5
www.eeworm.com/read/101082/6243254
2c l40.2c
#print
In the file "mess" delete all blanks at the ends
of lines. Be prepared to delete several blanks
if need be (remember the '*' character).
Then rewrite the file and type "ready".
#create Ref
It
www.eeworm.com/read/101082/6243255
2b l37.2b
#print
Now edit file "text" and change the "cat" on every line
into "mouse". Then rewrite the file and type "ready".
#create Ref
domestic mouse
alley mouse
persian mouse
angora mouse
wildmouse
#creat
www.eeworm.com/read/101082/6243258
1b l63.1b
#print
What command will move the current line
to the beginning of the file? Type
"answer COMMAND", where COMMAND is the command.
#copyin
#user
#uncopyin
#match m0
#match .m0
"m0" is easier.
#log
#n
www.eeworm.com/read/101082/6243259
2c l12.2c
#print
Again, you can type various commands before
entering the editor. This directory
contains a file whose name begins with the
letter 'h'. Make a copy of that file
named "norman". Check by print