New project: amalgamate /etc/services from little bits.
[services] / merge-services.1
diff --git a/merge-services.1 b/merge-services.1
new file mode 100644 (file)
index 0000000..b3a2c97
--- /dev/null
@@ -0,0 +1,31 @@
+.TH merge-services 1 "29 April 2005"
+.SH NAME
+merge-services \- merge entries from several /etc/services files
+.SH SYNOPSIS
+.B merge-services
+.I file
+\&...
+.SH DESCRIPTION
+The
+.B merge-services
+command reads the services files given on the command line and writes a
+merged file to its standard output.
+.PP
+A services entry consists of five parts: a
+.IR name ,
+a
+.IR "port number" ,
+a
+.IR protocol ,
+a list of
+.IR aliases ,
+and a
+.IR comment .
+The merging process discards all comments.  Two entries match if their
+names, ports and protocols are all equal: in this case, the output
+contains a single entry listing the union of both sets of aliases.  In
+all other cases, entries are left alone.
+.SH BUGS
+It's very stupid.
+.SH AUTHOR
+Mark Wooding, <mdw@nsict.org>