VehiclesFashionRecipesBlogsHuntTravelsSportFunHandmadeITEducation
Mini-Games
x

x
zakruti.com » IT - Software » IT, programs, coding
Macho Is Man Pages On Steroids DistroTube

Macho Is Man Pages On Steroids DistroTube

FBTwitterReddit

video description

Rating: 4.0; Vote: 1
Macho Is Man Pages On Steroids DistroTube I came across this fantastic blog post about a shell script called macho that searches for manpages. It uses a variety of shell commands including: man, apropos, grep, sed, awk, sort and fzf. You can also use it in conjunction with a launcher like dmenu or rofi. - https://hiphish.github.io/blog/2020/05/31/macho-man-command-on-steroids/ - HiPhish's Article About Macho - https://gitlab.com/dwt1/dotfiles/-/blob/master/macho.sh - CLI macho script example - https://gitlab.com/dwt1/dotfiles/-/blob/master/macho-gui.sh - GUI macho script example
Date: 2022-03-30

Comments and reviews: 10


Hi DT, great video!
I tried the scripts, there's a couple details I wanted to tell you about:
- in the -GUI- script, you should check if a manual was selected with --n-, and not --z-, i'm sure that was just an oversight
- if $READER is actually set to be -zathura-, then one would be missing the --- to tell it to read from stin; so it's just better to use -$READER -- directly, as any program that would work with this would need to be able to read from stdin in any case.

reply

I-d like to recommend (or request) you check out the emacs -woman- command if you-re interested in interfaces to man pages. And sending the output of grep to awk seems quite unnecessary-just write the appropriate filter for awk.
reply

I-d like to recommend (or request) you check out the emacs -woman- command if you-re interested in interfaces to man pages. And sending the output of grep to awk seems quite unnecessary-just write the appropriate filter for awk.
reply

How can I make macho a universally accessible command just like man where it doesn't have to have a .sh file in my user directory? I don't understand how or why commands like man and ls have several whereis results.
reply

I love the PDF pipe... except for the fact that the PDF is your traditional eye-blinding white background and black text, instead of the dark background / light text everyone sane uses for their terminal.
reply

Wow! That is so cool, a PDF output! While I use TLDR at times this could be a great tool for the tool box!
Thanks DT or the video and links. Just what I needed a Saturday Night project... Lol
LLAP

reply

I like your i3 status bar, could you share the config file or do you have a video where you describe how to set it up? Keep up the great work i live your videos.
reply

It feels kind of weird having someone talk about me in the third person :) Nice video, I'm glad that people like it, and you explained the steps very well.
reply

This is what happens when you combine geeks and social distancing... basically the same things that happened before the social distancing part.
reply

Have you heard of tldr? It's like man pages but condenses the commands into a small bitesized chunk which is enough to get you started.
reply
Add a review, comment






Other channel videos