Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solvled] How to follow symlinks in man by using bash
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
lovelytux
Tux's lil' helper
Tux's lil' helper


Joined: 23 Aug 2013
Posts: 108

PostPosted: Tue Dec 25, 2018 5:12 pm    Post subject: [solvled] How to follow symlinks in man by using bash Reply with quote

Hey,
how do I follow Hyperlinks in manuals, wich I call with bash.

For example: man bg ...
How do I follow Hyperlink: Section 2.12 ...

lovelytux


Last edited by lovelytux on Tue Dec 25, 2018 5:22 pm; edited 1 time in total
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 8291
Location: Saint Amant, Acadiana

PostPosted: Tue Dec 25, 2018 5:18 pm    Post subject: Reply with quote

There are no hyperlinks in regular man pages, but you can search for strings. If your pager is less use '/'.
_________________
My Gentoo installation notes.
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
lovelytux
Tux's lil' helper
Tux's lil' helper


Joined: 23 Aug 2013
Posts: 108

PostPosted: Tue Dec 25, 2018 5:21 pm    Post subject: Reply with quote

Hey Jaglover,

thanks.

lovelytux
Back to top
View user's profile Send private message
mike155
Advocate
Advocate


Joined: 17 Sep 2010
Posts: 4438
Location: Frankfurt, Germany

PostPosted: Tue Dec 25, 2018 5:24 pm    Post subject: Reply with quote

You can't. Look at
Quote:
bzless /usr/share/man/man1p/bg.1p.bz2

You'll see that no targets are defined within this file. Consequently, the hyperlinks just look like hyperlinks. But you cannot click on them and you won't get redirected to the target.

You could try
Code:
info bg

That program supports hyperlinks. There's one for bash, but not for Section 2.12...
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20484

PostPosted: Tue Dec 25, 2018 5:51 pm    Post subject: Reply with quote

Moved from Documentation, Tips & Tricks to Other Things Gentoo as this doesn't fit in the former forum.

Quote:
Documentation, Tips & Tricks
Unofficial documentation for various parts of Gentoo Linux. Note: This is not a support forum.

_________________
Quis separabit? Quo animo?
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