Mark,
cd is a builtin, but the default fish installation comes with a function
called cd (which overshadows the builtin) which wraps the builtin and adds
some functionality such as recognizing "-" to mean "previous directory",
keeping the directory history, etc. You can see its definition by
Mark,
Good question. expr is a system command, so it's documented through the usual
routes: https://linux.die.net/man/1/expr
Robert
> On Oct 23, 2017, at 07:50, Mark Volkmann wrote:
>
> What is the reason why the expr command is not documentation along with other
Entering "builtin -n" lists all the builtins. This list includes "cd".
Entering "type -t cd" says that cd is a function.
How can cd be both a builtin and a function?
--
R. Mark Volkmann
Object Computing, Inc.
--
Check
What is the reason why the expr command is not documentation along with
other fish commands at https://fishshell.com/docs/current/commands.html. Is
it considered to be in a different category of commands from those?
--
R. Mark Volkmann
Object Computing, Inc.