代码搜索:L
找到约 10,000 项符合「L」的源代码
代码结果 10,000
www.eeworm.com/read/101082/6243260
1b l33.1b
#print
Write the command that will change
either the word "that" or the word "than"
into "this", and then print the result. Type
"answer COMMAND" on a line, where COMMAND is
that string. (That is, C
www.eeworm.com/read/101082/6243261
2d l43.2d
#print
This is trickier. File "name" contains
A T and T Co.
Change it to read
A T & T Co.
Then rewrite it and type "ready".
#create Ref
A T & T Co.
#create name
A T and T Co.
#user
#cmp name Ref
www.eeworm.com/read/101082/6243262
2b l35.2b
#print
Now suppose we wanted to delete the blanks
after the letter "t" in this line:
here are a lot of blanks
This line is on file "blank". Try the sequence
ex blank
1p
s/t */t/p
wq
ready
www.eeworm.com/read/101082/6243263
2c l15.2c
#print
Note that every set of lines to be appended ends
with the character '.' alone on a line. This is essential
to get back to editor command level. Whenever you have
been appending, and you later
www.eeworm.com/read/101082/6243265
2h l30.2h
#print
The two files you were editing are still around here.
Use "diff" to see what the differences between them are
and check that the correction was made properly. Then
type "ready".
#create market
www.eeworm.com/read/101082/6243266
2g l50.2g
#print
The file "amend" contains an erroneous copy of the first
four amendments to the Constitution. Find the line
saying "suspicion" and change it to read
"but upon probable cause, supported by oath
www.eeworm.com/read/101082/6243267
1b l30.1b
#print
As with other commands, you can specify a line
number in front of the 's' command. Thus
3s/x/a/
will change the first 'x' to an 'a' on the third line
of the current file. Pick up file 'town
www.eeworm.com/read/101082/6243268
1e l21.1e
#print
This directory contains a file "abot" which
has an extra line (one line was typed twice).
Remove the extra line and rewrite the
file; then type "ready". This file is
fairly short.
#create Ref
www.eeworm.com/read/101082/6243271
2d l50.2d
#print
In file "text" print the first
line which contains any of the
words "them", "these", "their", or "there"
(you need only distinguish "the"; that is,
look for the letters "t", "h", and "e" follow
www.eeworm.com/read/101082/6243277
2b l33.2b
#print
You can of course use the [] operators anywhere in
a pattern. Editor patterns, by the way, are called
"regular expressions". For example, suppose you wanted
to change either the word "trick"