代码搜索:L
找到约 10,000 项符合「L」的源代码
代码结果 10,000
www.eeworm.com/read/101082/6243304
1e l63.1e
#print
Will the command
m-
interchange lines "." and ".-1"?
Answer yes or no.
#copyin
#user
#uncopyin
#match no
You actually need "m--".
#log
#next
64.1a 10
www.eeworm.com/read/101082/6243305
1i l44.1i
#print
One last one with "\". Add the following to
the end of the first line in file "temp",
separated by a single blank.
/* &"\n" isn't &'\n' */
You can do it by re-typing the line, but it's
a nic
www.eeworm.com/read/101082/6243306
2b l43.2b
#print
Pick up the file "line" and change
x, y. and z
into
x, y, and z
Then rewrite the file and type "ready".
#create Ref
x, y, and z
#create line
x, y. and z
#user
#cmp line Ref
#log
#next
43.2c
www.eeworm.com/read/101082/6243307
2c l52.2c
#print
In this directory is a file "memo". Between the line
containing "I." and the line containing "II."
change all multiple blanks to one blank.
Then rewrite the file and type "ready".
#create Ref
www.eeworm.com/read/101082/6243308
2e l70.2e
#print
There is a file "cities" in this directory in which each line
contains a city, state and ZIP code. But it was typed
in by a member of management and is really botched - every
NJ city is labele
www.eeworm.com/read/101082/6243309
2c l60.2c
#print
You can use an address on the 'r' command to read input at a particular
location in the file. Thus
5r name
reads file "name" and appends its contents after line 5 of the file.
You can use an
www.eeworm.com/read/101082/6243310
1b l60.1b
#print
You can, of course, use the 'r' command
with an address. Any editor command can be used
with an address (except 'q'). For example, there
is a file 'phone' in this directory.
If you print it,
www.eeworm.com/read/101082/6243313
1g l44.1g
#print
Of course, you can also search for lines that
contain backslashes; again, it's simply a matter
of doubling the backslash in the search pattern.
That is,
/\\/
finds the next line with a backs
www.eeworm.com/read/101082/6243314
2c l72.2c
#print
There is a file "price" in this directory. Find all
lines which don't begin with blank and put three asterisks
at the beginning of each such line. Then rewrite
the file and type "ready".
#cre
www.eeworm.com/read/101082/6243315
2b l11.2b
#print
You can clearly print a whole file
with
ex filename
1,$p
w
q
which prints a file, just as "cat filename"
does. Print the file "stuff" using the
editor.
Then type "ready".
#create Ref