[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: simple useful functions

From: Drew Adams
Subject: RE: simple useful functions
Date: Fri, 29 Oct 2010 13:19:00 -0700

> > So what makes `.' more portable than `source'?
> It works in any Bourne or POSIX (derived) shell.

Swahili is a universal language ... among people who speak Swahili.

`.' works in the Bourne-shell family.
`source' works in the C-shell family.
`bash' and `zsh' support both.

If you want it to be _portable_, then test the value of argument SHELL and DTRT.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]