delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/09/25/02:34:06

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:mime-version:in-reply-to:references:from:date
:message-id:subject:to:content-type; q=dns; s=default; b=NVVaHLb
m6uuqzSh3YjIBb0wxpeQB4OrXg3M8GPUlTiGI5mW0qxBH9l5GpYYPKHIqVRlowbh
bpLdwWv88jFGJYsXrVKgFgof/zGX5lfE82ELuwspQJ9bLgg+GVyOswV44J9IGbHm
Aa8NR+2tR3OCiJF2zb7jAHfjHWHlKU7LZkjA=
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:mime-version:in-reply-to:references:from:date
:message-id:subject:to:content-type; s=default; bh=9HPSlFY9Cx1nG
SRL7clCWxLitkI=; b=xcmf5uEKO+LT+Bz+4wPFMCh+YyicD9gjmghiUbh84FLE3
EOyLrtWmJNWGl7b4w8T9jlwLHSbrBWMIlhczeHm4O6WrwgrqRt7EWCfXeFJtnIZ7
hNECIktBNlbp62hENnQT/OSyVTFVtbT2B+OZ9E4rstqcMlkWF2hCCpJJr9Pn3k=
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.0 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,NO_RELAYS autolearn=ham version=3.3.2
X-HELO: mail-pd0-f177.google.com
X-Received: by 10.68.244.130 with SMTP id xg2mr31740797pbc.13.1380090828320; Tue, 24 Sep 2013 23:33:48 -0700 (PDT)
MIME-Version: 1.0
In-Reply-To: <CACOaVDt1UgN2X5XkHf4HcGB2gQQqLKD3QcHZiY5gnpeciCarnA@mail.gmail.com>
References: <CACOaVDt1UgN2X5XkHf4HcGB2gQQqLKD3QcHZiY5gnpeciCarnA AT mail DOT gmail DOT com>
From: Ulrich Pogson <grapplerulrich AT gmail DOT com>
Date: Wed, 25 Sep 2013 08:33:28 +0200
Message-ID: <CACOaVDvhdTG5HP5nqAYr_Aeuaz-UEH8+cXWFyB3QJvMySSY=-A@mail.gmail.com>
Subject: Re: Run bash script in cmd with cygwin
To: cygwin AT cygwin DOT com

Thanks Matt, after try everything I could not get it to work. Could
you give me the whole code that I could enter in cmd that would run
cygwin and then run the script?

On 24 September 2013 23:43, Ulrich Pogson <grapplerulrich AT gmail DOT com> wrote:
> Hello
>
> I would like to run this script `for file in `find . -name "*.po"` ;
> do msgfmt -o ${file/.po/.mo} $file ; done` in windows cmd. The script
> need to run in a different folder. I have been able to run it though
> cygwin but want to integrate it with another system where it will be
> run through cmd.
>
> C:\cygwin\bin
> D:\path\to\dir
>
> How can I do this?
>
> Thanks.

--
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