From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3605 invoked by alias); 25 Dec 2013 09:57:27 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 18253 Received: (qmail 5951 invoked from network); 25 Dec 2013 09:57:13 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=donmez.ws; s=www; h=mime-version:from:date:message-id:subject:to:content-type; bh=qZ37gZFC9wETw6vwzyiWGCLwvW/mssh12OwDagqN8+A=; b=QaBmlngxwQBgwq8rsPWsNCDVJNPnKKhhlxMoyV2lHKwAtC7dwBeLCrzlMqI6SBsxZQ AtDkKcgW3yVUGExtN+LM68UtgGQg1JaDnhCuXynQc2DsFmr+4WM22yTHV1IsJGtdAP9l mkad+23jU7PS/HGmg6UIq7Fd/fw4v9OD18WIw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to :content-type; bh=qZ37gZFC9wETw6vwzyiWGCLwvW/mssh12OwDagqN8+A=; b=Tkniy72giSm6i2LUa8tzGSUeFvuiD5ZlCJWb03Js4FhwDzGotloqUJhktlCIi7+ytw FyGKKUYZrj+KrDZg2ZHp+Xrr94swL/iPji396mbscVp6DjtnWtT4YCLzbxrhsqsT+8Vk jo4oxQqR0hshbd0jm01M89ecWnO0YDSvArNfcnMPxZus6nM8sXIQR05ial0tmYuFzlSO o08Uz9njj5FG6Vpy4Z25CxDFx6n0iwwRYpqqwDTSqyiEC7icv8y7NF/zZmc5j30bIMp/ cw9UYS2zT7pv3wfxFlcHwA2TPhWgcrgnRLV/WqmK0z+Z2bIr/MTJPtYbcw4v0lEM5ORb Mcqw== X-Gm-Message-State: ALoCoQnDeifVxS9pfRWztcVRC7x5+yerNWxLWFQJM5WTNTdXlQ50SxrUpUod1Z4sae3YfzeP/Nch X-Received: by 10.224.138.4 with SMTP id y4mr60472767qat.65.1387965429068; Wed, 25 Dec 2013 01:57:09 -0800 (PST) MIME-Version: 1.0 X-Originating-IP: [212.156.31.134] From: =?UTF-8?B?xLBzbWFpbCBEw7ZubWV6?= Date: Wed, 25 Dec 2013 11:56:48 +0200 Message-ID: Subject: Problem with env? To: Zsh Users Content-Type: text/plain; charset=UTF-8 Hi, I have a very simple script: #!/usr/bin/env python3 # -*- coding: utf-8 -*- # import sys print("%s.%s.%s" % (sys.version_info.major, sys.version_info.minor, sys.version_info.micro)) This is supposed to run in python3. With zsh 5.0.2 (x86_64-suse-linux-gnu): [~]> ./test.py 2.7.5 So it runs python instead of python3. With bash 4.2: [~]> ./test.py 3.3.2 So obviously something going on with zsh or my zsh setup. Any ideas?