Hello Greg,
These commands have been made builtins to improve performance. We still try
to avoid unnecessarily adding more builtins to fish, but these commands are
so frequently used in fish that it was best for convert them to builtins.
Refer to 'The law of responsiveness' section from fish design doc (
http://fishshell.com/docs/2.1/design.html).
On Thu, Oct 9, 2014 at 10:40 PM, Greg Reagle <greg.rea...@umbc.edu> wrote:
> I was reading an article about fish at
> http://arstechnica.com/information-technology/2005/12/linux-20051218/2/
> which has:
>
> Most other Unix shells include built-in implementations of common
> commands like echo, kill, printf, pwd, time, and test. These internal
> implementations are usually slightly incompatible with the standard
> Unix tools they replace, making portability an even bigger hurdle.
> Making more and more commands a part of the shell also has stability
> implications, since a bug in the implementation of a command risks to
> crash the entire shell instead of only crashing a separate process.
>
> Also http://fishshell.com/docs/current/index.html has:
>
> To avoid code duplication, and to avoid the confusion of subtly
> differing versions of the same command, fish generally only implements
> builtins for actions which cannot be performed by a regular command.
>
> However:
> $ type echo printf pwd test
> echo is a builtin
> printf is a builtin
> pwd is a builtin
> test is a builtin
>
> I wonder why these commands were made built-in.
>
>
> ------------------------------------------------------------------------------
> Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
> Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
> Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
> Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
>
> http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
> _______________________________________________
> Fish-users mailing list
> Fish-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/fish-users
>
--
Regards,
Siteshwar
------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________
Fish-users mailing list
Fish-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fish-users