|
Support : Dialog Search Aids : Successful Searching : EDIT : CHANGE EDIT (cont'd) CHANGE
Use CHANGE to alter the existing text of your search. The command changes the first occurrence of existing text in a line. If the same text occurs more than once in a line, the CHANGE command has to be repeated to alter each occurrence. Summary of the CHANGE CommandTo change existing text to new text in line nn, enter: ?change nn/existing text/new text/ To eliminate text from line nn without replacing it, enter: ?change nn/existing text// To insert new text at the beginning of line nn, enter: ?change nn//new text/ To insert new text following the first space in line nn, enter: ?change nn/ / new text/ While the Online Editor does not distinguish between upper and lower case letters, spacing is extremely important in the CHANGE command. The existing text between the first two slashes and the new text between the second two slashes are both read literally by the computer. If a space is indicated in either place, the Online Editor will either look for a space to change or enter a space as a change. If no space is indicated, the Editor will neither look for one nor enter one. Note: In some instances it can be more straightforward to INSERT a new line with the modifications you desire, and then DELETE the old line, rather than using the CHANGE command. • To change existing text to new text: EDIT: ?list 10. S STRESS 20. S BURNOUT OR BURN(W)OUT OR DEPRESSION 30. S PSYCHOLOGY 40. S S1 AND S2 AND S3 EDIT: ?change 30/psychology/job performance 30. S JOB PERFORMANCE • To eliminate text without replacing it: EDIT: ?list 10. S STRESS 20. S BURNOUT OR BURN(W)OUT OR DEPRESSION 30. S JOB PERFORMANCE 40. S S1 AND S2 AND S3 EDIT: ?change 20/or depression// 20. S BURNOUT OR BURN(W)OUT • To insert new text at the beginning of a line (changing S to SS): ?list 10. S STRESS 20. S S1 AND BURNOUT OR BURN(W)OUT EDIT: ?change 20//s/ 20. SS S1 AND BURNOUT OR BURN(W)OUT • To insert new text following the first space in a line (note that a space is also added after the new text word "or"): EDIT: ?list 10. S STRESS 20. SS S1 AND BURNOUT OR BURN(W)OUT EDIT: ?change 10/ / grief or / 10. S GRIEF OR STRESS Note: To indicate that a space is to be retained, include a space between the first two slashes and a space before the new text to be entered. Be sure to include a space at the end of the new text, if necessary. |
Successful Searching "Quick Links": Introduction to Dialog
Commands |
|||||||||||||||||||||||||
|
|||||||||||||||||||||||||||