|
Support : Dialog Search Aids : Successful Searching : EDIT : INSERT and LIST EDIT (continued) INSERT
Use INSERT to add new lines of text to the Dialog profile you are editing. To return to EDIT from INPUT mode, press enter after the prompt following your last line of text. INSERT entered alone places you in INPUT mode at the end of the current text, so that you can add new text. INSERT followed by a line number places you in INPUT mode at the line number you specified, allowing you to insert one or more lines within the existing text. To input new text between two existing lines, choose any number that falls between those two line numbers (e.g., INSERT 25 to input text between lines 20 and 30). After inserting, be sure to make any necessary adjustments to set numbers you have used in your command lines. Press the enter key at the INPUT: prompt to return to EDIT: mode. • To insert lines at the end of existing text: EDIT: ?list 10. S ENGLAND/DE,TI 20. S BOOKSELLER? OR BOOKSTORE? OR BOOK(W)STORE? 30. S S1 AND S2 EDIT: ?insert INPUT: 40 ?select s3 and renaissance INPUT: 50 ?<enter> Returning to EDIT mode EDIT: • To insert lines within existing text: ?list 10. S LIABLE OR LIABILIT? 20. S DRUNK? OR DRINK? 30. S S1 AND S2 EDIT: ?insert 25 INPUT: 25 ?s s2 or inebriat? INPUT: 26 ?<enter> Returning to EDIT mode EDIT: ?list 10. S LIABLE OR LIABILIT? 20. S DRUNK? OR DRINK? 25 S S2 OR INEBRIAT? 30. S S1 AND S2 <—Note that set S2 must now be changed to set S3.
LIST
Use LIST to display the text you are editing. Enter LIST alone to view all lines. Enter LIST followed by a line number to view a specific line. You can also enter LIST followed by a range of line numbers (e.g., LIST 30-80), a non-sequential series of line numbers separated by commas (e.g., LIST 10,30,50), or a combination of the two (e.g., LIST 10, 40-60). If you enter a nonexistent line number following LIST, the Editor returns the message >>>line does not exist. To locate a line or lines containing a specific word or character string, enter LIST followed by the text to be found, placing that text between slashes. All lines in which that text occurs are displayed. • To display all the lines of the text: EDIT:
?list
10. S ENGLAND/DE,TI
20. S BOOKSELLER? OR BOOKSTORE? OR BOOK(W)STORE?
30. S S1 AND S2
• To display a single line: EDIT:
?list 20
20. S BOOKSELLER? OR BOOKSTORE? OR BOOK(W)STORE?
• To locate and display all lines containing the text BOOK: EDIT: ?list /book/ 20. S BOOKSELLER? OR BOOKSTORE? OR BOOK(W)STORE? |
Successful Searching "Quick Links": Introduction to Dialog
Commands |
|||||||||||||||||||||||||
|
|||||||||||||||||||||||||||