On Fri, 2009-08-14 at 07:38 -0500, James Robertson wrote:

> Thanks so much for the explanation.  That makes a lot of sense.  The 
> solution you provide works for me.

Very useful things, shell functions. For this case, a simple alias would
have done just as well, but I use (at work) similar functions for
turning debug logging on and off for the product I work on... something
like:

debugon() {
  export DEBUG_FILE=$1
  export DEBUG_LEVEL=debug
}

...which essentially defines a 'debugon' command taking a filename as a
parameter.

Simon.

Attachment: signature.asc
Description: This is a digitally signed message part

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to