This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: NT wrappers


Hello,

* On Thu, Feb 13, 2003 at 06:45:28PM -0600, Robert Citek <rwcitek@alum.calberkeley.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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]