From 1e158d273bb63883566358cbb886cd4167421df6 Mon Sep 17 00:00:00 2001 From: "Jason St. John" Date: Thu, 27 Jun 2013 18:38:15 +0200 Subject: [PATCH] man: fix spacing issue in various man pages Before: libsystemd-daemonpkg-config(1) After: libsystemd-daemon pkg-config(1) This fix is more complicated than it should be due to the consecutive XML elements separated by collapsible whitespace. Merging the lines and separating the XML elements with an en space or a non-breaking space is the only solution that results in one, and only one, space being inserted between them when testing. An em space results in two spaces being inserted. --- man/sd-daemon.xml | 3 +-- man/sd-id128.xml | 3 +-- man/sd-journal.xml | 3 +-- man/sd-login.xml | 3 +-- man/sd_booted.xml | 3 +-- man/sd_get_seats.xml | 3 +-- man/sd_id128_get_machine.xml | 3 +-- man/sd_id128_randomize.xml | 3 +-- man/sd_id128_to_string.xml | 3 +-- man/sd_is_fifo.xml | 3 +-- man/sd_journal_add_match.xml | 3 +-- man/sd_journal_get_catalog.xml | 3 +-- man/sd_journal_get_cursor.xml | 3 +-- man/sd_journal_get_cutoff_realtime_usec.xml | 3 +-- man/sd_journal_get_data.xml | 3 +-- man/sd_journal_get_fd.xml | 3 +-- man/sd_journal_get_realtime_usec.xml | 3 +-- man/sd_journal_get_usage.xml | 3 +-- man/sd_journal_next.xml | 3 +-- man/sd_journal_open.xml | 3 +-- man/sd_journal_print.xml | 3 +-- man/sd_journal_query_unique.xml | 3 +-- man/sd_journal_seek_head.xml | 3 +-- man/sd_journal_stream_fd.xml | 3 +-- man/sd_listen_fds.xml | 3 +-- man/sd_login_monitor_new.xml | 3 +-- man/sd_notify.xml | 3 +-- man/sd_pid_get_session.xml | 3 +-- man/sd_seat_get_active.xml | 3 +-- man/sd_session_is_active.xml | 3 +-- man/sd_uid_get_state.xml | 3 +-- 31 files changed, 31 insertions(+), 62 deletions(-) diff --git a/man/sd-daemon.xml b/man/sd-daemon.xml index 55ee1fd8932..136415f0a10 100644 --- a/man/sd-daemon.xml +++ b/man/sd-daemon.xml @@ -146,8 +146,7 @@ sd-daemon.h files. These interfaces are available as shared library, which can be compiled and linked to with the - libsystemd-daemon - pkg-config1 + libsystemd-daemon pkg-config1 file. Alternatively, applications consuming these APIs may copy the implementation into their source tree, either verbatim or in excerpts. diff --git a/man/sd-id128.xml b/man/sd-id128.xml index 51a16e35d44..c194f574581 100644 --- a/man/sd-id128.xml +++ b/man/sd-id128.xml @@ -157,8 +157,7 @@ These APIs are implemented as a shared library, which can be compiled and linked to with the - libsystemd-id128 - pkg-config1 + libsystemd-id128 pkg-config1 file. diff --git a/man/sd-journal.xml b/man/sd-journal.xml index 490b971f19a..6d39611447d 100644 --- a/man/sd-journal.xml +++ b/man/sd-journal.xml @@ -100,8 +100,7 @@ These APIs are implemented as shared library, which can be compiled and linked to with the - libsystemd-journal - pkg-config1 + libsystemd-journal pkg-config1 file. diff --git a/man/sd-login.xml b/man/sd-login.xml index c186324f838..251b35b06fa 100644 --- a/man/sd-login.xml +++ b/man/sd-login.xml @@ -122,8 +122,7 @@ These APIs are implemented as shared library, which can be compiled and linked to with the - libsystemd-login - pkg-config1 + libsystemd-login pkg-config1 file. diff --git a/man/sd_booted.xml b/man/sd_booted.xml index 32d0fd095de..84af8fbd95f 100644 --- a/man/sd_booted.xml +++ b/man/sd_booted.xml @@ -102,8 +102,7 @@ sd-daemon.h files. These interfaces are available as shared library, which can be compiled and linked to with the - libsystemd-daemon - pkg-config1 + libsystemd-daemon pkg-config1 file. Alternatively, applications consuming these APIs may copy the implementation into their source tree. For more details about the reference diff --git a/man/sd_get_seats.xml b/man/sd_get_seats.xml index 9fb0732c109..8254b7cae4d 100644 --- a/man/sd_get_seats.xml +++ b/man/sd_get_seats.xml @@ -124,8 +124,7 @@ sd_get_machine_names() interfaces are available as shared library, which can be compiled and linked to with the - libsystemd-login - pkg-config1 + libsystemd-login pkg-config1 file. diff --git a/man/sd_id128_get_machine.xml b/man/sd_id128_get_machine.xml index 039c1dd64cb..12887a240a6 100644 --- a/man/sd_id128_get_machine.xml +++ b/man/sd_id128_get_machine.xml @@ -118,8 +118,7 @@ and sd_id128_get_boot() interfaces are available as shared library, which can be compiled and linked to with the - libsystemd-id128 - pkg-config1 + libsystemd-id128 pkg-config1 file. diff --git a/man/sd_id128_randomize.xml b/man/sd_id128_randomize.xml index 37efe164cd2..15e17619d06 100644 --- a/man/sd_id128_randomize.xml +++ b/man/sd_id128_randomize.xml @@ -98,8 +98,7 @@ The sd_id128_randomize() interface is available as shared library, which can be compiled and linked to with the - libsystemd-id128 - pkg-config1 + libsystemd-id128 pkg-config1 file. diff --git a/man/sd_id128_to_string.xml b/man/sd_id128_to_string.xml index 593d0752d58..6d5cf45f90a 100644 --- a/man/sd_id128_to_string.xml +++ b/man/sd_id128_to_string.xml @@ -118,8 +118,7 @@ The sd_id128_to_string() and sd_id128_from_string() interfaces are available as shared library, which can be compiled and - linked to with the libsystemd-id128 - pkg-config1 + linked to with the libsystemd-id128 pkg-config1 file. diff --git a/man/sd_is_fifo.xml b/man/sd_is_fifo.xml index 5eaf1585a2c..44b41abf868 100644 --- a/man/sd_is_fifo.xml +++ b/man/sd_is_fifo.xml @@ -192,8 +192,7 @@ sd-daemon.h files. These interfaces are available as shared library, which can be compiled and linked to with the - libsystemd-daemon - pkg-config1 + libsystemd-daemon pkg-config1 file. Alternatively, applications consuming these APIs may copy the implementation into their source tree. For more details about the reference diff --git a/man/sd_journal_add_match.xml b/man/sd_journal_add_match.xml index 82edf218343..d02285f2059 100644 --- a/man/sd_journal_add_match.xml +++ b/man/sd_journal_add_match.xml @@ -176,8 +176,7 @@ sd_journal_flush_matches() interfaces are available as shared library, which can be compiled and linked to with the - libsystemd-journal - pkg-config1 + libsystemd-journal pkg-config1 file. diff --git a/man/sd_journal_get_catalog.xml b/man/sd_journal_get_catalog.xml index d1962e4ca15..53ca3083b13 100644 --- a/man/sd_journal_get_catalog.xml +++ b/man/sd_journal_get_catalog.xml @@ -120,8 +120,7 @@ sd_journal_get_catalog_for_message_id() interfaces are available as shared library, which can be compiled and linked to with the - libsystemd-journal - pkg-config1 + libsystemd-journal pkg-config1 file. diff --git a/man/sd_journal_get_cursor.xml b/man/sd_journal_get_cursor.xml index d83c5191f5a..861927e2e11 100644 --- a/man/sd_journal_get_cursor.xml +++ b/man/sd_journal_get_cursor.xml @@ -132,8 +132,7 @@ and sd_journal_test_cursor() interfaces are available as shared library, which can be compiled and linked to with the - libsystemd-journal - pkg-config1 + libsystemd-journal pkg-config1 file. diff --git a/man/sd_journal_get_cutoff_realtime_usec.xml b/man/sd_journal_get_cutoff_realtime_usec.xml index 506c02c38c8..d987011a8b1 100644 --- a/man/sd_journal_get_cutoff_realtime_usec.xml +++ b/man/sd_journal_get_cutoff_realtime_usec.xml @@ -124,8 +124,7 @@ sd_journal_get_cutoff_monotonic_usec() interfaces are available as shared library, which can be compiled and linked to with the - libsystemd-journal - pkg-config1 + libsystemd-journal pkg-config1 file. diff --git a/man/sd_journal_get_data.xml b/man/sd_journal_get_data.xml index ba50b8d0927..460b709dbff 100644 --- a/man/sd_journal_get_data.xml +++ b/man/sd_journal_get_data.xml @@ -205,8 +205,7 @@ sd_journal_get_data_threshold() interfaces are available as shared library, which can be compiled and linked to with the - libsystemd-journal - pkg-config1 + libsystemd-journal pkg-config1 file. diff --git a/man/sd_journal_get_fd.xml b/man/sd_journal_get_fd.xml index f3fbe69c32b..1c6f25005ea 100644 --- a/man/sd_journal_get_fd.xml +++ b/man/sd_journal_get_fd.xml @@ -255,8 +255,7 @@ else { sd_journal_wait() interfaces are available as shared library, which can be compiled and linked to with the - libsystemd-journal - pkg-config1 + libsystemd-journal pkg-config1 file. diff --git a/man/sd_journal_get_realtime_usec.xml b/man/sd_journal_get_realtime_usec.xml index b57a7c15b26..e7e4e4e4d1f 100644 --- a/man/sd_journal_get_realtime_usec.xml +++ b/man/sd_journal_get_realtime_usec.xml @@ -124,8 +124,7 @@ sd_journal_get_monotonic_usec() interfaces are available as shared library, which can be compiled and linked to with the - libsystemd-journal - pkg-config1 + libsystemd-journal pkg-config1 file. diff --git a/man/sd_journal_get_usage.xml b/man/sd_journal_get_usage.xml index 490317ac91c..50953f5065f 100644 --- a/man/sd_journal_get_usage.xml +++ b/man/sd_journal_get_usage.xml @@ -86,8 +86,7 @@ The sd_journal_get_usage() interface is available as shared library, which can be compiled and linked to with the - libsystemd-journal - pkg-config1 + libsystemd-journal pkg-config1 file. diff --git a/man/sd_journal_next.xml b/man/sd_journal_next.xml index 11066611f13..6e437d18225 100644 --- a/man/sd_journal_next.xml +++ b/man/sd_journal_next.xml @@ -158,8 +158,7 @@ sd_journal_previous_skip() interfaces are available as shared library, which can be compiled and linked to with the - libsystemd-journal - pkg-config1 + libsystemd-journal pkg-config1 file. diff --git a/man/sd_journal_open.xml b/man/sd_journal_open.xml index d7ea8ff95b4..eae851e7315 100644 --- a/man/sd_journal_open.xml +++ b/man/sd_journal_open.xml @@ -191,8 +191,7 @@ sd_journal_close() interfaces are available as a shared library, which can be compiled and linked to with the - libsystemd-journal - pkg-config1 + libsystemd-journal pkg-config1 file. diff --git a/man/sd_journal_print.xml b/man/sd_journal_print.xml index 7292d33456e..81900dbdfb2 100644 --- a/man/sd_journal_print.xml +++ b/man/sd_journal_print.xml @@ -229,8 +229,7 @@ sd_journal_send("MESSAGE=Hello World, this is PID %lu!", (unsigned long) getpid( sd_journal_sendv() interfaces are available as shared library, which can be compiled and linked to with the - libsystemd-journal - pkg-config1 + libsystemd-journal pkg-config1 file. diff --git a/man/sd_journal_query_unique.xml b/man/sd_journal_query_unique.xml index dde52cf5fbc..f5d9d2bfb58 100644 --- a/man/sd_journal_query_unique.xml +++ b/man/sd_journal_query_unique.xml @@ -158,8 +158,7 @@ sd_journal_restart_unique() interfaces are available as shared library, which can be compiled and linked to with the - libsystemd-journal - pkg-config1 + libsystemd-journal pkg-config1 file. diff --git a/man/sd_journal_seek_head.xml b/man/sd_journal_seek_head.xml index 9cf9dd07a8e..c4e64096e17 100644 --- a/man/sd_journal_seek_head.xml +++ b/man/sd_journal_seek_head.xml @@ -158,8 +158,7 @@ and sd_journal_seek_cursor() interfaces are available as shared library, which can be compiled and linked to with the - libsystemd-journal - pkg-config1 + libsystemd-journal pkg-config1 file. diff --git a/man/sd_journal_stream_fd.xml b/man/sd_journal_stream_fd.xml index ec42e8cb1b3..3577526f20d 100644 --- a/man/sd_journal_stream_fd.xml +++ b/man/sd_journal_stream_fd.xml @@ -114,8 +114,7 @@ The sd_journal_stream_fd() interface is available as shared library, which can be compiled and linked to with the - libsystemd-journal - pkg-config1 + libsystemd-journal pkg-config1 file. diff --git a/man/sd_listen_fds.xml b/man/sd_listen_fds.xml index 9d9f4d0d76b..c9b39970157 100644 --- a/man/sd_listen_fds.xml +++ b/man/sd_listen_fds.xml @@ -151,8 +151,7 @@ sd-daemon.h files. These interfaces are available as shared library, which can be compiled and linked to with the - libsystemd-daemon - pkg-config1 + libsystemd-daemon pkg-config1 file. Alternatively, applications consuming these APIs may copy the implementation into their source tree. For more details about the reference diff --git a/man/sd_login_monitor_new.xml b/man/sd_login_monitor_new.xml index c7650e6ba3a..e93f93f9ce7 100644 --- a/man/sd_login_monitor_new.xml +++ b/man/sd_login_monitor_new.xml @@ -226,8 +226,7 @@ else { sd_login_monitor_get_timeout() interfaces are available as shared library, which can be compiled and linked to with the - libsystemd-login - pkg-config1 + libsystemd-login pkg-config1 file. diff --git a/man/sd_notify.xml b/man/sd_notify.xml index 52614a20711..a7bf17f9c68 100644 --- a/man/sd_notify.xml +++ b/man/sd_notify.xml @@ -238,8 +238,7 @@ sd-daemon.h files. These interfaces are available as shared library, which can be compiled and linked to with the - libsystemd-daemon - pkg-config1 + libsystemd-daemon pkg-config1 file. Alternatively, applications consuming these APIs may copy the implementation into their source tree. For more details about the reference implementation see diff --git a/man/sd_pid_get_session.xml b/man/sd_pid_get_session.xml index b45c9a5526d..fd1ce4b87e1 100644 --- a/man/sd_pid_get_session.xml +++ b/man/sd_pid_get_session.xml @@ -169,8 +169,7 @@ sd_pid_get_machine_name() interfaces are available as shared library, which can be compiled and linked to with the - libsystemd-login - pkg-config1 + libsystemd-login pkg-config1 file. Note that the login session identifier as diff --git a/man/sd_seat_get_active.xml b/man/sd_seat_get_active.xml index 3060ec7d52e..8b32bdc6690 100644 --- a/man/sd_seat_get_active.xml +++ b/man/sd_seat_get_active.xml @@ -163,8 +163,7 @@ sd_seat_can_grapical() interfaces are available as shared library, which can be compiled and linked to with the - libsystemd-login - pkg-config1 + libsystemd-login pkg-config1 file. diff --git a/man/sd_session_is_active.xml b/man/sd_session_is_active.xml index 0146fb427b7..e89117d990a 100644 --- a/man/sd_session_is_active.xml +++ b/man/sd_session_is_active.xml @@ -241,8 +241,7 @@ sd_session_get_tty() interfaces are available as shared library, which can be compiled and linked to with the - libsystemd-login - pkg-config1 + libsystemd-login pkg-config1 file. diff --git a/man/sd_uid_get_state.xml b/man/sd_uid_get_state.xml index 9a20b5453cd..ba614f932b8 100644 --- a/man/sd_uid_get_state.xml +++ b/man/sd_uid_get_state.xml @@ -172,8 +172,7 @@ sd_uid_get_sessions(), and sd_uid_get_seats() interfaces are available as shared library, which can be compiled and - linked to with the libsystemd-login - pkg-config1 + linked to with the libsystemd-login pkg-config1 file. -- 2.47.3