delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/11/09/17:05:56

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:reply-to:message-id:to:subject
:in-reply-to:references:mime-version:content-type
:content-transfer-encoding; q=dns; s=default; b=WK+dQ0VuelxhqH8g
7sf/mQ9LLojwW2ZX1LC+jYAvxGSgtyVO+Tcih6G3oWpe5rAW33VKRrUBKR9FFtyT
xesAGu0AsDxo0aPDxRjvZEps2jlqbKDlgQ4BKOQnQUqP1TSvvUQv4M87z92KNdXM
WM2Bg2v34eerC5LZ/KG9GLh/8JE=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:reply-to:message-id:to:subject
:in-reply-to:references:mime-version:content-type
:content-transfer-encoding; s=default; bh=VqiLKst0v9NVl1LLAYmwgP
iJGzM=; b=bAWYAc0q/X1gNX7FrwugzH7uAu0xJ80UAJ/aT62gv3XL1BIesAK2sj
R82is0ZYCRKRpwWQBcsClm+E2U9a3hwA8p2A0gogU0W5c5xSi1rfdc3N4m7hUroF
yL5c4/sY4sXvPIQIisi5U2MAYsUn8vllYs3Tvc4eYOA9OljcdsvL4=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-3.3 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,KAM_THEBAT,SPF_SOFTFAIL autolearn=no version=3.3.2
X-HELO: smtp.ht-systems.ru
Date: Mon, 10 Nov 2014 01:01:10 +0300
From: Andrey Repin <anrdaemon AT yandex DOT ru>
Reply-To: cygwin AT cygwin DOT com
Message-ID: <327097453.20141110010110@yandex.ru>
To: Eric Blake <eblake AT redhat DOT com>, cygwin AT cygwin DOT com
Subject: Re: how to embed shell script within a .BAT file
In-Reply-To: <545D3A5E.2040800@redhat.com>
References: <0D835E9B9CD07F40A48423F80D3B5A702E8379F0 AT USA7109MB022 DOT na DOT xerox DOT net> <545D3A5E DOT 2040800 AT redhat DOT com>
MIME-Version: 1.0
X-IsSubscribed: yes

Greetings, Eric Blake!

> On 11/07/2014 10:26 PM, Nellis, Kenneth wrote:
>> I'm tired of creating pairs of script files:  a clickable .BAT file 
>> to invoke my shell script and then my shell script to do the actual
>> work. I was wondering if any of the geniuses on this list have come 
>> up with a way to embed a shell script inside a clickable .BAT file.

> A quick google search for "polyglot shell bat" finds:
> http://www.spinellis.gr/blog/20100112/

Worst solution I've never seen. Starting from obvious limit of nine parameters
and down to the less-than-manageable code gibberish.


--
WBR,
Andrey Repin (anrdaemon AT yandex DOT ru) 10.11.2014, <00:58>

Sorry for my terrible english...


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019