This is the mail archive of the
mailing list for the Cygwin project.
ksh to bash question
- To: cygwin <cygwin at cygwin dot com>
- Subject: ksh to bash question
- From: "Matthew O. Persico" <persicom at acedsl dot com>
- Date: Fri, 20 Apr 2001 23:49:30 -0400
Not exactly a cygwin question, but since I am converting to Cygwin...
In KSH, you could take each shell function, put it in its own file, set
the FPATH envvar to point where the files are and then invoke functions.
The first time the function is called, the FPATH is searched. If the
file is found is is sourced and executed. Subsequent invokations are
In BASH, does one have to explicitly source all functions before first
use or does FPATH (or its equivilent) exist? If not, where are functions
traditionally stored and where (.bash_profile, .bashrc, etc) are they
Matthew O. Persico
AceDSL:The best ADSL in Verizon area
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple