代码搜索:L
找到约 10,000 项符合「L」的源代码
代码结果 10,000
www.eeworm.com/read/101082/6243351
2f l37.2f
#print
The file "paragraph" in this directory contains
a number of commas followed by blanks. Please see
to it that all commas are followed by exactly one blank.
Then rewrite the file and type "ready
www.eeworm.com/read/101082/6243352
2d l36.2d
#print
On line 4 of the file "attribute" is either the word
"color" or the word "Color". With one command
add an 's' to the end of the word. Check that you did it right;
then rewrite the file and ty
www.eeworm.com/read/101082/6243353
2b l15.2b
#print
Now make a file containing the line
The Hon. Brendan Byrne
and write it on file "gov".
Then type "ready".
#create Ref
The Hon. Brendan Byrne
#user
#cmp gov Ref
#log
#next
15.1b 10
www.eeworm.com/read/101082/6243355
1b l45.1b
#print
The opposite command to splitting is joining.
But this isn't done with a "s" as you might expect;
it uses an entirely separate command called "j"
(for "join"). To join two or more adjacent (!)
www.eeworm.com/read/101082/6243358
2d l60.2d
#print
This is trickier. Read the file "text". Look for a line saying
"insert file ... here". Delete that line, and in its
place (after the preceding line) read in the file asked for.
Then rewrite
www.eeworm.com/read/101082/6243359
2c l8.2c
#print
You can also use "-" in addresses.
For example, you can print the
line before the current line with
.-1p
as a command. Again, I'll put
you in the editor; print the fifth
line and then the fo
www.eeworm.com/read/101082/6243360
1b l8.1b
#print
You can also use "-" in addresses. For example,
the line before the current line is line ".-1"
and can be printed with ".-1p" or even just ".-1".
How would you print the line two lines before
www.eeworm.com/read/101082/6243362
2b l38.2b
#print
In this directory there is a file "text"; whenever the
letters "cat" begin a line, change them to "mouse"; but
leave other instances of "cat" unaltered. Do this on each line.
Then rewrite the
www.eeworm.com/read/101082/6243364
01b l20.01b
#print
The undo command actually "undoes" the effects of the
last command that changed something.
So, though it is often used to recover deleted lines,
it can also be used to remove lines you just app
www.eeworm.com/read/101082/6243365
2g l32.2g
#print
One place where "." is useful is in changing
letters that are hard to type, e.g. the # and @
characters. For example, the command
s/a.b/xxx/
will change "a@b" to "xxx". There is a file name