bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

"command" help page


From: 積丹尼 Dan Jacobson
Subject: "command" help page
Date: Sat, 21 Aug 2021 13:52:08 +0800

$ help command | grep -i -- -v
      -v    print a description of COMMAND similar to the `type' builtin
      -V    print a more verbose description of each COMMAND
$ command -v cat
/bin/cat
$ type cat
cat is /bin/cat
$ command -V cat
cat is /bin/cat

So it turns out -V is like type, not -v!

Also when you say "description" one expects something like:

$ man cat | col -b | grep -A 1 -i description
DESCRIPTION
       Concatenate FILE(s) to standard output.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]