On 2018-02-17 13:47:02 -0500 (-0500), Hongbin Lu wrote: [...] > If anyone can clarify the rationals of this convention, it will be > really helpful. [...]
There's a trade-off here: while `.` is standardized in POSIX sh (under Utilities, Dot in the specification), it's easy to miss when reading documentation and/or cutting and pasting from examples. On the other hand, `source` is easier to see but was originally unique to csh (which lacks `.`) and subsequently borrowed by the bash shell environment as an alias for `.` ostensibly to ease migration for users of csh and its derivatives. The `source` command is not implemented by a number of other popular shells however, which may make it a poor interoperability choice (given csh is an arguably less popular shell these days) unless we assume a specific shell (e.g., bash). -- Jeremy Stanley
signature.asc
Description: PGP signature
__________________________________________________________________________ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev