[maemo-developers] [maemo-developers] Usa of "source" in startup scripts

From: Weinehall David (Nokia-M/Tampere) David.Weinehall at nokia.com
Date: Fri Jun 17 16:44:55 EEST 2005
On fre, 2005-06-17 at 14:53 +0300, ext Riku Voipio wrote:
> On Friday 17 June 2005 14:26, Florian Boor wrote:
> > while integrating some maemo software into OpenEmbedded i ran into trouble
> > because many startup scripts used "source" instead of "." to source external
> > files. This seems to be a feature of bash and isn't implemented in busybox 
> ash i
> 
> It's a POSIX feature. And support for it can be added to busybox ash with a 
> massive one-line patch. Ofcourse, "." is 5 chars shorter than "source", but 
> that is a micro-optimization in maemo platform scale... :-)

Nopes, "source" is NOT a POSIX feature.  It's listed neither in SuSv3 
nor in SuSv2. "." is, on the other hand (though it's listed as "dot" in
the documentation, presumably to be easier to search for...)


Regards: David Weinehall

More information about the maemo-developers mailing list