delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/02/14/07:02:11

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
User-Agent: Mutt/1.4i Hamster-Fr/2.0.1.10
Date: Fri, 14 Feb 2003 02:13:47 +0100
From: Luc Hermitte <hermitte AT free DOT fr>
To: cygwin AT cygwin DOT com
Subject: Re: NT wrappers
Message-ID: <20030214011347.GA5112@ORLYN>
References: <070b01c2d368$ee4bcdc0$9c00140a AT uk DOT circle DOT com> <F54ukGYk5qqWJJAf8DA0001cbfa AT hotmail DOT com> <070b01c2d368$ee4bcdc0$9c00140a AT uk DOT circle DOT com> <3 DOT 0 DOT 5 DOT 32 DOT 20030213092743 DOT 01d5cb88 AT mail DOT earthlink DOT net> <078701c2d376$4fd7a750$9c00140a AT uk DOT circle DOT com> <3 DOT 0 DOT 5 DOT 32 DOT 20030213184528 DOT 0180eba0 AT mail DOT earthlink DOT net>
Mime-Version: 1.0
In-Reply-To: <3.0.5.32.20030213184528.0180eba0@mail.earthlink.net>

Hello,

* On Thu, Feb 13, 2003 at 06:45:28PM -0600, Robert Citek <rwcitek AT alum DOT calberkeley DOT org> wrote:
> Here is a script called "write" that allows me to use WordPad from within
> Cygwin:
> 
>   #!/bin/bash
>   [ "$1" = "" ] && exec /cygdrive/c/WINNT/system32/write
>   [ ! -f "$1" ] && touch "$1"
>   exec /cygdrive/c/WINNT/system32/write "$(cygpath -w "$1" )"
> 
> Why is modifying such a script to accept additional command-line
> arguments not germaine to this list?

Lately, I have released a wrapper for Win32 native (command-line) tools.
It can not guess arguments you don't know, but will enable you to
specify as many arguments you wish to specify. And it also converts
all the pathnames given and it follows symbolic links.

I'm not sure it is the kind of thing you are looking for. So, just in
case, you will found cyg-wrapper.sh on my web site.

Regards,

-- 
Luc Hermitte
http://hermitte.free.fr/cygwin/

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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