| 1 | .TH merge-services 1 "29 April 2005" |
| 2 | .SH NAME |
| 3 | merge-services \- merge entries from several /etc/services files |
| 4 | .SH SYNOPSIS |
| 5 | .B merge-services |
| 6 | .I file |
| 7 | \&... |
| 8 | .SH DESCRIPTION |
| 9 | The |
| 10 | .B merge-services |
| 11 | command reads the services files given on the command line and writes a |
| 12 | merged file to its standard output. |
| 13 | .PP |
| 14 | A services entry consists of five parts: a |
| 15 | .IR name , |
| 16 | a |
| 17 | .IR "port number" , |
| 18 | a |
| 19 | .IR protocol , |
| 20 | a list of |
| 21 | .IR aliases , |
| 22 | and a |
| 23 | .IR comment . |
| 24 | The merging process discards all comments. Two entries match if their |
| 25 | names, ports and protocols are all equal: in this case, the output |
| 26 | contains a single entry listing the union of both sets of aliases. In |
| 27 | all other cases, entries are left alone. |
| 28 | .SH BUGS |
| 29 | It's very stupid. |
| 30 | .SH AUTHOR |
| 31 | Mark Wooding, <mdw@nsict.org> |