代码搜索:L
找到约 10,000 项符合「L」的源代码
代码结果 10,000
www.eeworm.com/read/101082/6243158
2g l30.2g
#print
This directory contains a file named "markets" which
has a 'q' on the last line where it should have a 'p'.
Rewrite the corrected version on a new file named
"nmark". Then type "ready".
#creat
www.eeworm.com/read/101082/6243159
1c l21.1c
#print
This directory contains a file "list" which has
a list of words in it. What word is on the last line
of the file? The file is rather long - I'd suggest you
not try to print all of it. Type "
www.eeworm.com/read/101082/6243160
2d l40.2d
#print
In file "poem" add the character "." (period)
at the end of lines 3 through the end of the file.
Then rewrite the file and type "ready".
#create Ref
When I was a lad I served a term
As office
www.eeworm.com/read/101082/6243164
2f l32.2f
#print
Is the word "stop" changed by the command
s/t./xx/p
Type "yes" or "no".
#copyin
#user
#uncopyin
#match yes
#log
#next
32.2g 5
www.eeworm.com/read/101082/6243167
1b l15.1b
#print
You can of course put several lines between the 'a' and the '.'
to type in lots of text at one time. Here is a set
of lines: type them in and name the file "fruit".
Type "ready" when done. In
www.eeworm.com/read/101082/6243169
2b l72.2b
#print
Edit the file "cities" to remove all lines NOT
containing "NJ". Then rewrite the file
and type "ready".
#create Ref
Camden NJ 08101
Elizabeth NJ 07207
Jersey City NJ 07303
Newark NJ 07101
Pate
www.eeworm.com/read/101082/6243175
2b l51.2b
#print
Suppose you have a memo in a file and
the line with the title is preceded by a line
with "TL" on it. What command would print
the title? Reply
answer COMMAND
where COMMAND is the search-and
www.eeworm.com/read/101082/6243176
3b l19.3b
#print
You can use any other kind of address you want
with 'd'; for example,
.d
will delete the current line. Remember the
name of the last line? Pick up file
"flower" and delete the last line and
www.eeworm.com/read/101082/6243177
1c l63.1c
#print
What command will move the current line
to the end of the file? Type
"answer COMMAND", where COMMAND is the command.
#copyin
#user
#uncopyin
#match m$
#match .m$
"m$" is easier.
#log
#next
63
www.eeworm.com/read/101082/6243178
2c l43.2c
#print
This is trickier. Change all sequences of several
asterisks into one asterisk. E.g.
*** xxx ****
becomes
* xxx *
The file is named "stars"; edit it
and then rewrite it. Then type "ready".