Re: cd with multiple arguments?

2010-12-13 Thread Marc Herbert
>> Things like "good default settings" and "batteries included" 
> 
> Not sure the reference to python (?) is relevant here,...

This was a reference at consumer electronics. Like most living things,
pythons do not use any batteries.

More seriously Python does not seem to be the only system using this
expression.


> True, bash does not come with a vast library of ready-to-use functions.

Neither is there any such "reference" library available externally. Or
is there?





Re: cd with multiple arguments?

2010-12-13 Thread Stephane CHAZELAS
2010-12-13, 12:04(+00), Marc Herbert:
[...]
>> True, bash does not come with a vast library of ready-to-use functions.
>
> Neither is there any such "reference" library available externally. Or
> is there?

Yes, they're called "commands" or "programs" or "software".

People tend to forget that before all a shell is a command line
interpreter.

If you're finding yourself writing complex shell functions that
don't make use of external commands, then you're heading the
wrong direction with your shell, or you are heading in one
direction with the wrong medium (i.e. you need a programming
language, not a shell).

-- 
Stephane