]>
Commit | Line | Data |
---|---|---|
0c508a8a | 1 | .TH SMSLIST 1 "14 Sep 1988" "Project Athena" |
e6386401 | 2 | \" RCSID: $Header$ |
3 | .SH NAME | |
0c508a8a | 4 | smslist \- examine and modify memberships in SMS lists |
e6386401 | 5 | .SH SYNOPSIS |
0c508a8a | 6 | .B smslist [options] listname [options] |
e6386401 | 7 | .SH DESCRIPTION |
0c508a8a | 8 | .I Smslist |
e6386401 | 9 | is a tool for maintaining the membership of SMS lists. It is more |
10 | limited than the menu-oriented listmaint, but has a more traditional | |
11 | unix user interface which makes it easier to use in scripts. It can | |
12 | also read a set of list members from a file and synchronize the list | |
13 | in SMS to that file. | |
14 | ||
15 | Whenever a member is specified, it may be specified explicitly, as | |
16 | user:username, list:listname, or string:string_text; or the type may | |
17 | be left off if the member name is non ambiguous. A member having | |
18 | punctuation characters (such as at-sign) in it is immediately assumed | |
19 | to be a string. Otherwise, | |
0c508a8a | 20 | .B smslist |
e6386401 | 21 | will try first as a user, and if that fails will try the member as a |
22 | list, and finally fall back to string if both of those fail. | |
23 | ||
24 | The default output mode is similar, in that usernames are displayed | |
25 | without any identifying type, lists are always displayed as | |
26 | list:listname, and strings will only be labeled as a string if they do | |
27 | not have any punctuation characters in them. | |
28 | .SH OPTIONS | |
29 | .IP \fB-add\ \fImember\ \fRor\ \fB-a\ \fImember\fR: | |
30 | This will add the specified member to the target list. This option | |
31 | may be specified multiple times with different members on the same | |
32 | command line. | |
33 | .IP \fB-delete\ \fImember\ \fRor\ \fB-d\ \fImember\fR: | |
34 | This will delete the specified member from the target list. This | |
35 | option may be specified multiple times with different members on the | |
36 | same command line. | |
37 | .IP \fB-file\ \fIfilename\ \fRor\ \fB-f\ \fIfilename\fR: | |
38 | This will read a list of members from the named file, and make those | |
39 | members be the membership of the target list. It will do this by | |
40 | extracting the current membership of the target list from SMS, then | |
41 | diff these two sets of members, and determine who has to be added and | |
42 | deleted from the list so it will match the contents of the file. | |
43 | ||
44 | The file contains one member per line. It may have blank lines. | |
45 | Anything following a semicolon is considered a comment. If the | |
46 | .I filename | |
47 | is "-", | |
0c508a8a | 48 | .B smslist |
e6386401 | 49 | will read from standard input. |
50 | .IP \fB-info\ \fRor\ \fB-i\fR: | |
51 | Display other information about the target list besides the | |
52 | membership. This includes the description, flags, maillist and group | |
53 | status, owner, and last modification. | |
54 | .IP \fB-members\ \fRor\ \fB-m\fR: | |
55 | Display the membership of the target list. This is the default if no | |
56 | other options are specified. | |
57 | .IP \fB-recursive\ \fRor\ \fB-r\fR: | |
58 | When displaying the membership of the target list, recursively track | |
f1647f51 | 59 | down all lists that are members of the target, and get their |
e6386401 | 60 | membership. Only the user and string members will be displayed, not |
61 | the intermediate lists. | |
62 | .IP \fB-verbose\ \fRor\ \fB-v\fR: | |
63 | Give more information. With the info flag, it will also display the | |
64 | number of members on the list. With the members flag, it will display | |
65 | the type of each member, not just those that are ambiguous. When | |
66 | changing the membership of a list, it will print a message for each | |
67 | member added or deleted. | |
68 | .IP \fB-debug\ \fRor\ \fB-D\fR: | |
69 | Turn on debugging messages. | |
70 | ||
71 | .SH AUTHORS | |
72 | Mark Rosenstein and Jay Berkenbilt. | |
73 | .SH SEE ALSO | |
74 | listmaint(1) |