"source" comes from the C shell.
The Bourne shell (and the Korn shell
successor) did not have it.

Bash was probably the first to suck in
both.

-- Jim

-----Original Message-----
From: [email protected] [mailto:[email protected]] On 
Behalf Of Harald Becker
Sent: Friday, March 15, 2013 5:02 PM
To: Mike Frysinger
Cc: [email protected]
Subject: Re: ash: "source <nonexistent file>" makes ash exit?

Hi Mike !

>"source" is not in POSIX and thus is not technically portable.

Not in POSIX? Wow, who removed this? Even old AT&T systems did
understand the "source".

... and just a hint about technically portable:

alias source=.

... and even dash shall understand "source"

--
Harald
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to