代码搜索:L
找到约 10,000 项符合「L」的源代码
代码结果 10,000
www.eeworm.com/read/101082/6243212
2f l19.2f
#print
There is a file "counties" in this directory.
Try deleting the first five lines of the file.
Then type "ready".
#create Ref
Morris
Warren
Union
Somerset
Hunterdon
#create counties
Bergen
Passai
www.eeworm.com/read/101082/6243213
1h l44.1h
#print
The next trick is to substitute a "\" into a line.
The same idea holds: simply double the backslash,
but this time on the right side of the "s" command.
In the file "prog.c", convert every
www.eeworm.com/read/101082/6243214
1e l44.1e
#print
As you've probably noticed, the backslash character "\"
is rather special to the editor (and to other programs
as well). So what do you do when you have to somehow
get a backslash into some te
www.eeworm.com/read/101082/6243215
1b l32.1b
#print
Note that the substitute command changes the first
instance of something that matches. Consider the
line
now is the time for all good men
and the substitute command
s/tim/TIM/
applied to
www.eeworm.com/read/101082/6243216
1b l4.1b
#print
Can you expect the normal command interpreter (called
the 'shell') to recognize
q
Type yes or no.
#copyin
#user
#uncopyin
#match no
#log
#next
5.1a 10
www.eeworm.com/read/101082/6243217
2b l4.2b
#print
Who will recognize 'q'?
Type "answer shell" or "answer editor".
#copyin
#user
#uncopyin
#match editor
#log
#next
4.1b 5
5.1a 10
www.eeworm.com/read/101082/6243219
1b l3.1b
#print
A particularly important editor command
is 'w' (write). This writes whatever
you are working on, including everything you
have typed in or changed, into a file,
so that you can work on it agai
www.eeworm.com/read/101082/6243221
2b l30.2b
#print
In this directory is a file 'pres' whose first line says
'harry' where it should say 'george'. Fix it using the
substitute command to change 'harry' into 'george'. You should
use the 'p' comm
www.eeworm.com/read/101082/6243222
2f l34.2f
#print
Will
s/ab[^cde]/xyz23/p
change
xbcabfgh
Type "yes" or "no". (Try it out
first in the editor if you don't know.)
#copyin
#user
#uncopyin
#match yes
#log
#next
34.1b 10
www.eeworm.com/read/101082/6243223
2e l50.2e
#print
Please edit a file named "news" and find the
first word containing the three letters "ufa".
Make the word plural, rewrite the file, and
type "ready".
#create Ref
It was announced today in
Washi