On Wed 2000-04-19 (16:51), Neil Blakey-Milner wrote:
> I have another idea: We make a sh script named "rcsource" or whatever,
> which we source when we want to have the rc environment, stealing your
> code maliciously:
>
> /--
> sourcercs_sourced_files=
> sourcercs ( ) {
> local rc_conf_files
> for i in $*; do
> case "${sourcercs_sourced_files}" in
> *:$i:*)
> ;;
> *)
> sourcercs_sourced_files="${sourcercs_sourced_files}:$i:"
> echo $i
> if [ -r $i ]; then
> . $i
> sourcercs ${rc_conf_files}
> fi
> ;;
> esac
> done
> }
> sourcercs /etc/defaults/rc.conf
> \--
Unless someone comes back with negative feedback, I'll be pushing for a
commit for this (and all that depend on this change) on the weekend.
Consider this a request for review and comment.
Neil
--
Neil Blakey-Milner
Hacker In Chief, Sunesi Clinical Systems
[EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message