LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Strange character on man pages (https://www.linuxquestions.org/questions/linux-newbie-8/strange-character-on-man-pages-54050/)

alaerte 04-08-2003 02:08 PM

Strange character on man pages
 
Hi,

Any man page output has errors on the characters, like this:

ln [OPTION]... ‐‐target‐directory=DIRECTORY TARGET...

DESCRIPTION
Create a link to the specified TARGET with optional LINK_NAME. If
LINK_NAME is omitted, a link with the same basename as the TARGET is
created in the current directory. When using the second form with more
than one TARGET, the last argument must be a directory; create links
in DIRECTORY to each TARGET. Create hard links by default, symbolic
links with −−symbolic. When creating hard links, each TARGET must
exist.

Mandatory arguments to long options are mandatory for short options
too.

−−backup[=CONTROL]
make a backup of each existing destination file

−b like −−backup but does not accept an argument

−d, −F, −−directory
hard link directories (super‐user only)

−f, −−force
remove existing destination files

−n, −−no−dereference
:


Any thoughts?

Texicle 04-08-2003 08:54 PM

Someone else had this same post a month or 2 ago. Basically, your "-" symbol isn't recognized for some reason. I can't recall exactly what the fix is, but if you search on the forums you'll find the answer I think.

Basically, for now, associate − with the symbol - . For instance:

Quote:

--backup[=CONTROL]
make a backup of each existing destination file

-b like --backup but does not accept an argument

-d, -F, --directory
hard link directories (super‐user only)

-f, --force
remove existing destination files

-n, --no-dereference
As for the other symbols:

‐‐target‐directory=DIRECTORY TARGET...

I think they're / or \ symbols, but I'm just guessing:

//target/directory=DIRECTORY TARGET...
\\target\directory=DIRECTORY TARGET...

Hope this helps.:D

mvega 07-29-2003 02:06 PM

I was wondering if you got any other replies to the strange man page character issue and, if so, what was the fix. I am having the same issue.

Regards,
Milton

david_ross 07-29-2003 02:08 PM

Try:
export LANG=C

Put it at the bottom of:
/etc/bashrc

and will be set when you login.

mvega 07-29-2003 02:17 PM

Excellent... this is a long way away from home for me (Solaris kernels and San enterprises); and every little bit is appreciated. Regards for the quick response David (because man pages are important to progress).


All times are GMT -5. The time now is 09:32 PM.