From aa96b7897b40bf1171f08d77e229ec57b2c4119a Mon Sep 17 00:00:00 2001 From: Holger Weiss Date: Sun, 12 Jan 2014 23:28:55 +0100 Subject: Documentation: Denote command lines with "$" Add a prompt sign to all command lines in code blocks. --- web/input/doc/faq/gnulib.md | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) (limited to 'web/input/doc/faq/gnulib.md') diff --git a/web/input/doc/faq/gnulib.md b/web/input/doc/faq/gnulib.md index 328dfeb..5b7299b 100644 --- a/web/input/doc/faq/gnulib.md +++ b/web/input/doc/faq/gnulib.md @@ -8,27 +8,27 @@ parent: FAQ not available on all (Unix-like) operating systems. In order to sync with the latest Gnulib code, do something like: - git clone git://git.savannah.gnu.org/gnulib.git - cd gnulib - GNULIB_HEAD=$(git rev-parse --short HEAD) - cd .. - git clone git@github.com:nagios-plugins/nagios-plugins.git - cd nagios-plugins - ../gnulib/gnulib-tool --update - find gl -name '*~' -o -name '.gitignore' | xargs rm - git status - git add gl - git commit -m "Sync with latest Gnulib code ($GNULIB_HEAD)" + $ git clone git://git.savannah.gnu.org/gnulib.git + $ cd gnulib + $ GNULIB_HEAD=$(git rev-parse --short HEAD) + $ cd .. + $ git clone git@github.com:nagios-plugins/nagios-plugins.git + $ cd nagios-plugins + $ ../gnulib/gnulib-tool --update + $ find gl -name '*~' -o -name '.gitignore' | xargs rm + $ git status + $ git add gl + $ git commit -m "Sync with latest Gnulib code ($GNULIB_HEAD)" In order to make a given function available via Gnulib (on systems which don't provide that function), the [corresponding module][modules] must be imported using `gnulib-tool`, e.g. (in order to add the `strcase` module): - ../gnulib/gnulib-tool --no-vc-files --import strcase - find gl -name '*~' | xargs rm - git status - git add gl - git commit -m 'Add Gnulib module "strcase"' + $ ../gnulib/gnulib-tool --no-vc-files --import strcase + $ find gl -name '*~' | xargs rm + $ git status + $ git add gl + $ git commit -m 'Add Gnulib module "strcase"' [gnulib]: http://www.gnu.org/software/gnulib/ "Gnulib" [modules]: http://www.gnu.org/software/gnulib/MODULES.html "Gnulib Modules" -- cgit v1.2.3-74-g34f1