代码搜索结果

找到约 10,000 项符合 L 的代码

l2.1a

#print Now to check that you can type, a line will be typed at you: type it back in, and then type "ready". Type the line exactly as it is typed at you, including the colons that bracket it. : pack m

l62.1a

#print Frequently you will want to move one or more lines from one place in a file to another. The command 5,10m30 will pick up lines 5 through 10 and move them after line 30. You can of course u

l20.1a

#print You can now change a line of a file, using only the commands already taught, by deleting the old line and inserting a new one. This is not a very convenient way to do that, so there is a comman

l18.3a

#print Since 'i' is the same as 'a' except for the position of the inserted material, what character must end every block of lines inserted with the 'i' command? Type "answer X" where X is that charac

l14.1a

#print You can also use the "=" command to find out what the 'current' line is. Since the current line is referred to as '.', do you see that .= is the appropriate command to print the current line

l10.1a

#print Often, what you want to do is print an entire file, and often you don't know exactly how long it is. There is a special abbreviation for this purpose: the character $ refers to the last line

l19.1a

#print Now that you know how to add lines to a file, you will want to know how to get rid of them. The command 5d will delete line 5 of a file. The command .d will delete the current line. In t

l34.1a

#print You can also specify "all characters except ..." using an expression of the form [^ab] which means "anything except an 'a' or 'b' character". Will s/ab[^cde]/xyz23/p change xbcabfgh Typ

l32.2a

#print Just as you can use abbreviations to specify a class of filenames, you can use abbreviationss in the editor to recognize strings in the substitute command. Unfortunately, the characters used i

l38.2a

#print Sometimes you want to recognize a string of characters only if they appear at the beginning of the line. The character '^' is used for this purpose. The command s/^ab/xy/ will change "ab" to