diff options
Diffstat (limited to 'usr.bin/learn/lib/editor/L50.1a')
-rw-r--r-- | usr.bin/learn/lib/editor/L50.1a | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/usr.bin/learn/lib/editor/L50.1a b/usr.bin/learn/lib/editor/L50.1a deleted file mode 100644 index 81bd91d9d7f..00000000000 --- a/usr.bin/learn/lib/editor/L50.1a +++ /dev/null @@ -1,36 +0,0 @@ -#print -So far all the addresses you have used have been -either line numbers, '$', or '.' (or combinations -thereof). The most useful addresses are none of -those, but are specifications of lines by content. -Anything you can ask the substitute command -to find in a line, you can ask the editor to find -in a file. In particular, - /xx/p -is a valid command with a line address - /xx/ -and the 'p' command operator. The address - /xx/ -means 'the next line containing an "xx"'. -So this command prints out the next line which -has an "xx" on it. Edit the file 'text' and -print the line which has 'cat' on it. Then -leave the editor and type "ready". -#create text -This is a short list of -things you might find -in the Sears, Roebuck -catalog. - tools - furniture - electrical parts - clothes - appliances - garden equipment. -#copyout -#user -#uncopyout -grep catalog\. .ocopy >/dev/null -#log -#next -50.1b 10 |