Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
man pages management
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
hujuice
Guru
Guru


Joined: 16 Oct 2007
Posts: 336
Location: Rome, Italy

PostPosted: Sun Oct 20, 2013 6:47 pm    Post subject: man pages management Reply with quote

Hello everybody.

I have to admit that I'm unable to drive the man pages management. :roll:
May someone help me?

If I type 'man' here in my desktop I receive the wanted man page
box $ man date:
DATE(1)                                                   User Commands                                                  DATE(1)



NAME
       date - print or set the system date and time

SYNOPSIS
       date [OPTION]... [+FORMAT]
       date [-u|--utc|--universal] [MMDDhhmm[[CC]YY][.ss]]

DESCRIPTION
       Display the current time in the given FORMAT, or set the system date.

       -d, --date=STRING
              display time described by STRING, not 'now'

       -f, --file=DATEFILE
              like --date once for each line of DATEFILE

       -I[TIMESPEC], --iso-8601[=TIMESPEC]
              output  date/time in ISO 8601 format.  TIMESPEC='date' for date only (the default), 'hours', 'minutes', 'seconds',
              or 'ns' for date and time to the indicated precision.

...

This is 'man 1 date', it's what I want as default.
If I want the POSIX scenario, I can type 'man 1p date'.

In my home server (generic profile), I can read only the POSIX version.
head $ man date:
DATE(1P)                                            POSIX Programmer's Manual                                           DATE(1P)



PROLOG
       This  manual  page is part of the POSIX Programmer's Manual.  The Linux implementation of this interface may differ (con‐
       sult the corresponding Linux manual page for details of Linux behavior), or the  interface  may  not  be  implemented  on
       Linux.

NAME
       date - write the date and time

SYNOPSIS
       date [-u] [+format]



       date [-u] mmddhhmm[[cc]yy]


DESCRIPTION
       The  date  utility  shall  write  the  date  and time to standard output  or attempt to set the system date and time.  By
       default, the current date and time shall be written. If an operand beginning with '+' is specified, the output format  of
       date shall be controlled by the conversion specifications and other text in the operand.

OPTIONS
       The  date  utility  shall  conform  to  the Base Definitions volume of IEEE Std 1003.1-2001, Section 12.2, Utility Syntax
       Guidelines.

       The following option shall be supported:

       -u     Perform operations as if the TZ environment variable was set to the string "UTC0", or  its  equivalent  historical
              value  of  "GMT0"  . Otherwise, date shall use the timezone indicated by the TZ environment variable or the system
              default if that variable is unset or null.


OPERANDS
       The following operands shall be supported:
...

This is the POSIX scenario, but not what I want as default.
Also, if I type 'man 1 date' I obtain the same.

The $MANPATH variable is not where I can resolve the trouble (I've also a jam with java-config2, but in the fine working computer).
box $ echo $MANPATH:
/etc/java-config-2/current-system-vm/man:/usr/local/share/man:/usr/share/man:/usr/share/gcc-data/x86_64-pc-linux-gnu/4.7.3/man:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.23.1/man:/etc/java-config-2/current-system-vm/man/

head $ echo $MANPATH:
/usr/local/share/man:/usr/share/man:/usr/share/gcc-data/x86_64-pc-linux-gnu/4.7.3/man:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.23.1/man:/usr/lib64/php5.5/man/


'diff' over the two /etc/man.conf files gives an empty result.

What do I miss in my knowledge and configuration? :?:

Thank you to everybody,
HUjuice
_________________
Who hasn't a spine, should have a method.
Chi non ha carattere, deve pur avere un metodo.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum