From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lf1-x131.google.com (mail-lf1-x131.google.com [IPv6:2a00:1450:4864:20::131]) by sourceware.org (Postfix) with ESMTPS id 074523857825 for ; Wed, 1 Jun 2022 13:29:47 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 074523857825 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-lf1-x131.google.com with SMTP id l13so2728628lfp.11 for ; Wed, 01 Jun 2022 06:29:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=7oN01aaUS5plJxyDY5baW/8cCcQomqL0btMaXSaIcz0=; b=ZrRG9jTM2gy37Nugjr64XUiSzERGAIGKuAHXJSXz6N8YNLSajKf67dRBw/6AIa2nC/ JtFAf3Rp8qSKtB8rLKQNuNl+u/PjkuIhuAOEDoOPXtGfzhV+AhPpA2rmMMdxYHR2u6vq soHg5KusbqtS1sl2z9D4Myq3g+DPc4+N4QguIXy2HYdk1vNMMn+urxkA9PKP8FWDo8GE 9E4WyaNlZ7Jg6FGAfVGRtiluskVm2eYIzK21Pqw+eITMAHBMBcXuMxGSttzTD05FRCqS gRTstr5YE85K0jZGed3S+NI990Qt7ZLmPl25sbowp160VoUZloDVgtaxI70ia7UIIS9p O9ow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=7oN01aaUS5plJxyDY5baW/8cCcQomqL0btMaXSaIcz0=; b=qYgQCBqmrKc5E1cIFhTypjEyiuXQumUWfQUeKNR1m/BRtADOshyh30JsDyl3IO3UmY AUbdZ7jJ2iN7DNz4DiX+Y0mPt57xXpy9NXTM6VTQ6lel4VNb4oCK3yyO96VEu4TxSIHl B8zc3/7M++BqtekkZg6tTGBDFd7IQp+x1i+ucLnKmhto12FUveY6cnzrSMJxOfd6nVwf shqm+WVjzVA3omjM0CWQb7rWMB7T6T1UZuF/LELyxgATab+BKOwsKMcq4/PrQcD5O8LR MVjOvfASx1ukrZN15q6BmtHCh/vLz4+TBzwxxFAjT1ief3lniH04082D1yCgSOuymQbe 3nnw== X-Gm-Message-State: AOAM533GktPps9R8deHrYFH1feRUQ5BGTsZf9tKp1TkWvroFTwirxL3C QmOrd1476iC1bfeAPRkAezqoNxEcQSszBbP1We8= X-Google-Smtp-Source: ABdhPJy95fVlLRk62RIgqZzSdaAhy23w2Gbvq0jE//HGKd/6ZVLCv+5PnW3VifytrpGUrjl3IshGQ8OmNOxxqUZJI4I= X-Received: by 2002:a05:6512:39c1:b0:471:b37e:fe5a with SMTP id k1-20020a05651239c100b00471b37efe5amr46035905lfu.527.1654090185564; Wed, 01 Jun 2022 06:29:45 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: =?UTF-8?Q?Daniel_Jeli=C5=84ski?= Date: Wed, 1 Jun 2022 15:29:34 +0200 Message-ID: Subject: Re: shebang env sh stopped working with coreutils-8.32-1 To: Ken Brown Cc: cygwin@cygwin.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=1.1 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM, KAM_NUMSUBJECT, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Level: * X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: cygwin@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Jun 2022 13:29:48 -0000 Hi Ken, Thanks for checking. You're right, I'm still on cygwin 3.2.0 because of issues with running make (see "GNU make losing jobserver tokens"). Tested with cygwin-3.3.5 and env seems to work. Sorry for the noise. Regards, Daniel =C5=9Br., 1 cze 2022 o 15:03 Ken Brown napisa=C5=82(a)= : > > On 6/1/2022 8:33 AM, Daniel Jeli=C5=84ski wrote: > > Hi all, > > As the title says. To reproduce: > > - create a file (test.sh) with the following contents: > > > > #!/usr/bin/env sh > > echo success > > > > - make it executable (chmod a+x test.sh) > > - execute (./test.sh) > > > > With coreutils-8.26-2 the script prints "success". With > > coreutils-8.32-1 and 9.1-1 nothing happens. > > Works for me. > > $ cat test.sh > #!/usr/bin/env sh > echo success > > $ ./test.sh > success > > $ cygcheck -cd coreutils > Cygwin Package Information > Package Version > coreutils 8.32-1 > > There must be something else going on in your environment. > > Ken > > -- > Problem reports: https://cygwin.com/problems.html > FAQ: https://cygwin.com/faq/ > Documentation: https://cygwin.com/docs.html > Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple