3.3
Table Of Contents
- Avid iNEWS Administration Guide
- Contents
- Using This Guide
- 1 - Introduction
- 2 - Connect Services
- 3 - Database Security
- 4 - Database Management
- 5 - Backing Up the iNEWS System
- 6 - Disconnects
- 7 - Troubleshooting
- A - Command References
- Programs Invoked by iNEWS
- Commands Used by Avid Personnel Only
- Linux Commands Used in iNEWS
- Console Control Commands
- Console Server Commands
- broadcast
- configure
- connect
- ctraits
- dbclean
- dbclose
- dbdev
- dbdump
- dbfree
- dblines
- dboriginal
- dbpurge (Superuser conditional)
- dbrestore
- dbserver
- dbsort
- dbtraits
- dbvisit
- dictionary
- diskclear (Superuser only)
- diskcopy
- doc
- ed
- enter
- force (Superuser only)
- grpcheck
- gtraits (Superuser only)
- help
- hogs
- idiff
- list
- list B
- list C
- list c
- list d
- list g
- list p
- list q
- list s
- list sq
- list u
- logout
- makemontab
- makeshift (Super user only)
- maketab (Superuser only)
- msgclean
- offline
- online
- otod
- reconnect
- remove
- rename (Superuser only)
- reorder
- restart
- searchtape
- send
- shutdown
- sitedump (Superuser only)
- siterestore (Superuser only)
- startup
- status
- stop
- su
- unbusy
- utraits (Super user only)
- version
- wholockedit
- Job List Commands
- Dialog Commands
- B - System Files
- C - Standard Dictionaries
- Using Dictionaries to Define Messages and Commands
- Customizing Dictionaries
- Utility Messages Dictionary (/site/dict/messages)
- DBServer Program Messages
- Disconnect Program Messages
- Category and Keyword Check Program Messages
- Keyboard Check Program Messages
- Keyboard Check Program Messages for Macros
- Grpcheck Messages
- Wire Program Messages
- Mail Server Messages
- Validation (Action) Server
- Seek Server Messages
- Last Login Messages
- Print Server Messages
- dbtraits Messages
- Save Error (Workstation) Messages
- Queues Dictionary (/site/dict/queues)
- Words Dictionary (/site/dict/words)
- Keyboard Macros Dictionary (/site/dict/keymacros)
- Case-shifting Dictionary (/site/dict/shift)
- MCS Dictionary (/site/dict/mcs)
- Job List Command Dictionary (/site/dict/joblist)
- D Messages Dictionary (/site/dict/dmessages)
- S Messages Dictionary (/site/dict/smessages)
- D - Environment Variables
- E - Managing Traits at the Console
- F - The Line Editor, ed
- Index
Starting ed
295
Searching Tips
Here are a few more tips for searching with ed.
• Remember to use spaces before and/or after text to further define your search string. For
instance, type
/ 25 /
instead of
/25/
to avoid finding other numbers that contain the
number 25, such as in the line:
server 251 action 251 - ;timed action
• Remember that searches are case sensitive. For instance, searching for /MONITOR/
does not find monitor.
• Remember that searches distinguish between spaces and tabs. In other words, if you use
spaces and the file contains the information separated by a tab, you will not find it. For
instance, the search example below will not work:
You type:
/monitor 271/
(monitor and 271 are separated by a space)
The line is:
server 271 monitor 271 - ;Morning Show
(monitor and 271 are
separated by a tab)
Editing Commands
There are several basic editing commands you can use in ed to view, change, add, move, and
delete text in a system file.
n
Some commands, such as Add, Delete, and Insert, change the current line, while others do
not. For instance, the Print command sets the current line to the number of the last line
printed.
Here is a list of editing commands, along with examples of their use:
Command Description & Examples
a
The Append command inserts one or more lines after the selected line. For
instance:
/websession/
;websession 900
a
inws 511 - gnews - ;
inws
.
In the above example, the user searches for websession, and ed responds by
displaying the first line found containing that word. The user types a, presses
Enter to start the append operation, and types information to be inserted in the
file after the displayed line. The user then types a period (.) on a line by itself,
which is very important because it terminates the append operation. Without it,
successive lines typed by the user would be added to the file.