Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't work for non-unixy commands such as find #36

Open
xeruf opened this issue Jul 1, 2021 · 0 comments
Open

Doesn't work for non-unixy commands such as find #36

xeruf opened this issue Jul 1, 2021 · 0 comments

Comments

@xeruf
Copy link

xeruf commented Jul 1, 2021

manly find -iname '*.txt' -exec cp {} /home \;

This shows a LOT of text, apparently it assumes that flags with a single dash have to be shorthands, which doesn't hold true for some commands such as find.

I really like the idea of this since I often meander through manpages to find longhands for mentioned flags, but in practice it needs to be fleshed out.

Another issue is that it includes doubleflags for single mentions

manly strace -f

outputs

strace - trace system calls and signals
=======================================

      -f
       --follow-forks
                   Trace child processes as  they  are  created  by  currently
                   traced  processes  as a result of the fork(2), vfork(2) and
                   clone(2) system calls.  Note that -p PID-f will attach all
                   threads  of  process  PID if it is multi-threaded, not only
                   thread with thread_id = PID.

      -ff
       --follow-forks --output-separately
                   Combine the effects of  --follow-forks  and  --output-sepa‐
                   rately  options.   This  is  incompatible with -c, since no
                   per-process counts are kept.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant