From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by yquem.inria.fr (Postfix) with ESMTP id E2A08BB84 for ; Thu, 11 Sep 2008 16:22:17 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AiUCACzGyEjAXQImiGdsb2JhbACBZZB/AQEBDyCeeYViPoFk X-IronPort-AV: E=Sophos;i="4.32,379,1217800800"; d="scan'208";a="16835885" Received: from discorde.inria.fr ([192.93.2.38]) by mail3-smtp-sop.national.inria.fr with ESMTP; 11 Sep 2008 16:22:16 +0200 Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by discorde.inria.fr (8.13.6/8.13.6) with ESMTP id m8BEMDUp025095 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=OK) for ; Thu, 11 Sep 2008 16:22:16 +0200 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Al0CAODGyEiAArkpgWdsb2JhbACBZZB/AQEQIAWefoViPoFk X-IronPort-AV: E=Sophos;i="4.32,379,1217800800"; d="scan'208";a="14833218" Received: from chokecherry.srv.cs.cmu.edu ([128.2.185.41]) by mail2-smtp-roc.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-SHA; 11 Sep 2008 16:22:15 +0200 Received: from stratocaster.home (pool-96-236-201-249.pitbpa.fios.verizon.net [96.236.201.249]) (authenticated bits=0) by chokecherry.srv.cs.cmu.edu (8.13.6/8.13.6) with ESMTP id m8BEMDXW026898 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO) for ; Thu, 11 Sep 2008 10:22:14 -0400 (EDT) Received: from ecc by stratocaster.home with local (Exim 4.69) (envelope-from ) id 1Kdn3l-0003qT-AI for caml-list@inria.fr; Thu, 11 Sep 2008 10:22:13 -0400 Date: Thu, 11 Sep 2008 10:22:13 -0400 From: Eric Cooper To: caml-list@inria.fr Subject: Re: [Caml-list] Sys.getenv does not work under OS X? Message-ID: <20080911142213.GB14689@localhost> Mail-Followup-To: caml-list@inria.fr References: <20774845-C8B3-478A-A5A1-398AFDD0F319@polytechnique.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20774845-C8B3-478A-A5A1-398AFDD0F319@polytechnique.org> User-Agent: Mutt/1.5.18 (2008-05-17) X-Scanned-By: mimedefang-cmuscs on 128.2.185.41 X-Miltered: at discorde with ID 48C92995.000 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; getenv:01 0200,:01 schmitt:01 compiler:01 inrialpes:01 wrote:01 caml-list:01 alan:02 sys:03 shell:04 thu:05 echo:05 variable:06 variable:06 sep:06 On Thu, Sep 11, 2008 at 02:51:06PM +0200, Alan Schmitt wrote: > schmitta@charm compiler % echo $HOST > charm.inrialpes.fr Are you sure HOST is an environment variable, and not just a variable that's set in your shell? You can use "printenv HOST" to check. -- Eric Cooper e c c @ c m u . e d u