代码搜索:L

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

代码结果 10,000
www.eeworm.com/read/101082/6243197

2d l32.2d

#print Is the word "stop" changed by the command s/to/xx/p Type "yes" or "no". #copyin #user #uncopyin #match yes #log #next 32.2e 5
www.eeworm.com/read/101082/6243198

2f l30.2f

#print Now there is a file named "equipment" and on the next to last line is a word that contains 'nn' where it should have 'mm'. Fix it and rewrite the file. Then type "ready". #create Ref screwdriv
www.eeworm.com/read/101082/6243199

2e l34.2e

#print Suppose you wanted to match all letters and punctuation marks. You could try [^ ] which is "anything but blank". Try the following commands: ex cut 1p 1s/p[^ ]/xxx/p wq ready #create Ref sto
www.eeworm.com/read/101082/6243203

2d l9.2d

#print The "." operator can be used with multiple addresses to refer to the current line in either the first or second position (or both). For example, you could print from the current line to the 6th
www.eeworm.com/read/101082/6243205

1b l10.1b

#print You can of course combine the various sorts of line addresses we have been using. Suppose the last line is line 6; then $ is line 6, and $-1 is line 5. Thus $-1 is the next to last line, and
www.eeworm.com/read/101082/6243206

1b l19.1b

#print Just as you can print several lines at once by giving a range of addresses with the 'p' command, you can delete several lines at once by giving two addresses. For example, 2,5d deletes line
www.eeworm.com/read/101082/6243207

1b l7.1b

#print As I said, '.' is set to the last line touched by any command in the editor. So if you type 3p . will be set to line 3; and then .p will print the same line. Try that - with the usual tr
www.eeworm.com/read/101082/6243208

2c l51.2c

#print How would you look for a blank line? Do you understand /^$/p Note this command: it looks for the beginning of the line, followed immediately by the end of the line. If there are any chara
www.eeworm.com/read/101082/6243210

2b l62.2b

#print You can of course use any kind of addresses for the three addresses in the 'm' command. Think of the command as "from address-1 until address-2 gather up and MOVE to address-3". OK. In the
www.eeworm.com/read/101082/6243211

2b l9.2b

#print You can of course use any kind of line numbers for the addresses in the "p" command. Just as you did before, print lines 2 through 5 of this file, and then type w, q, and ready. #create Ref :m