Skip to content

Instantly share code, notes, and snippets.

@sgoudham
Forked from eddieantonio/hello.1.md
Created June 26, 2022 00:35
Show Gist options
  • Select an option

  • Save sgoudham/d0f06cb6c24b924f3327d3631d9892c8 to your computer and use it in GitHub Desktop.

Select an option

Save sgoudham/d0f06cb6c24b924f3327d3631d9892c8 to your computer and use it in GitHub Desktop.

Revisions

  1. @eddieantonio eddieantonio revised this gist Sep 25, 2018. 1 changed file with 3 additions and 0 deletions.
    3 changes: 3 additions & 0 deletions ~LICENSE.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,3 @@
    Licensed under the terms of [CC0](https://creativecommons.org/publicdomain/zero/1.0/).

    To the extent possible under law, Eddie Antonio Santos has waived all copyright and related or neighboring rights to this work. This work is published from: Canada.
  2. @eddieantonio eddieantonio revised this gist Dec 19, 2015. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion hello.1.md
    Original file line number Diff line number Diff line change
    @@ -72,4 +72,4 @@ Foobar Goodprogrammer <[email protected]>
    SEE ALSO
    ========

    **hi(1)**, **hello(3)**, **hello.conf(4)**
    **hi(1)**, **hello(3)**, **hello.conf(5)**
  3. @eddieantonio eddieantonio created this gist Dec 19, 2015.
    75 changes: 75 additions & 0 deletions hello.1.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,75 @@
    % HELLO(1) Version 1.0 | Frivolous "Hello World" Documentation

    NAME
    ====

    **hello** — prints Hello, World!

    SYNOPSIS
    ========

    | **hello** \[**-o**|**--out** _file_] \[_dedication_]
    | **hello** \[**-h**|**--help**|**-v**|**--version**]

    DESCRIPTION
    ===========

    Prints "Hello, _dedication_!" to the terminal. If no dedication is
    given, uses the default dedication. The default dedication is chosen by
    the following sequence:

    1. Using the environment variable *DEFAULT_HELLO_DEDICATION*
    2. Using the per-user configuration file, *~/.hellorc*
    3. Using the system-wide configuration file, */etc/hello.conf*
    4. Finally, using "world".

    Options
    -------

    -h, --help

    : Prints brief usage information.

    -o, --output

    : Outputs the greeting to the given filename.

    The file must be an **open(2)**able and **write(2)**able file.

    -v, --version

    : Prints the current version number.

    FILES
    =====

    *~/.hellorc*

    : Per-user default dedication file.

    */etc/hello.conf*

    : Global default dedication file.

    ENVIRONMENT
    ===========

    **DEFAULT_HELLO_DEDICATION**

    : The default dedication if none is given. Has the highest precedence
    if a dedication is not supplied on the command line.

    BUGS
    ====

    See GitHub Issues: <https://github.com/[owner]/[repo]/issues>

    AUTHOR
    ======

    Foobar Goodprogrammer <[email protected]>

    SEE ALSO
    ========

    **hi(1)**, **hello(3)**, **hello.conf(4)**