mingw-users

Hi, I've downloaded mingw-get-inst-20111118.exe from the website and
installed all the packages, but at least one file (probably others) is
missing. That file is redir.exe. Does anyone know why this isn't included
in the main installer? Where should I be downloading it from?
Thanks,
A

On Thu, Apr 12, 2012 at 9:05 AM, Adrian Hawryluk <adrianh.bsc@...> wrote:
> Hi, I've downloaded mingw-get-inst-20111118.exe from the website and
> installed all the packages, but at least one file (probably others) is
> missing. That file is redir.exe. Does anyone know why this isn't included
> in the main installer? Where should I be downloading it from?
It's not something we provide or need. To do redirection from the
MSYS shell you simply use > to indicate redirection. You use the same
with cmd.exe.
$ cat foo > bar; #create a file bar from the contents of file foo
$ echo foobar >> bar; #append text "foobar" to the end of file bar
--
Earnie
-- https://sites.google.com/site/earnieboyd

On Thu, Apr 12, 2012 at 9:26 AM, Earnie Boyd
<earnie@...>wrote:
> On Thu, Apr 12, 2012 at 9:05 AM, Adrian Hawryluk <adrianh.bsc@...>
> wrote:
> > Hi, I've downloaded mingw-get-inst-20111118.exe from the website and
> > installed all the packages, but at least one file (probably others) is
> > missing. That file is redir.exe. Does anyone know why this isn't
> included
> > in the main installer? Where should I be downloading it from?
>
> It's not something we provide or need. To do redirection from the
> MSYS shell you simply use > to indicate redirection. You use the same
> with cmd.exe.
>
> $ cat foo > bar; #create a file bar from the contents of file foo
> $ echo foobar >> bar; #append text "foobar" to the end of file bar
>
> --
> Earnie
> -- https://sites.google.com/site/earnieboyd
>
Actually, if the bash shell is in use it would be more like 2> or 2>> or
2>>&1 to redirect from stderr. But that's not my question. I thought that
redir was a mingw utility. Is it not? I saw it in use in a mingw project.
A
--
========================================
Adrian Hawryluk
BSc. Computer Science
----------------------------------------
Specialising in:
OOD Methodologies in UML
OOP Methodologies in C, C++ and more
RT Embedded Programming
GUI Development
========================================

On Thu, Apr 12, 2012 at 9:52 AM, Adrian H <adrianh.bsc@...> wrote:
> On Thu, Apr 12, 2012 at 9:26 AM, Earnie Boyd <earnie@...
> > wrote:
>
>> On Thu, Apr 12, 2012 at 9:05 AM, Adrian Hawryluk <adrianh.bsc@...>
>> wrote:
>> > Hi, I've downloaded mingw-get-inst-20111118.exe from the website and
>> > installed all the packages, but at least one file (probably others) is
>> > missing. That file is redir.exe. Does anyone know why this isn't
>> included
>> > in the main installer? Where should I be downloading it from?
>>
>> It's not something we provide or need. To do redirection from the
>> MSYS shell you simply use > to indicate redirection. You use the same
>> with cmd.exe.
>>
>> $ cat foo > bar; #create a file bar from the contents of file foo
>> $ echo foobar >> bar; #append text "foobar" to the end of file bar
>>
>> --
>> Earnie
>> -- https://sites.google.com/site/earnieboyd
>>
>
> Actually, if the bash shell is in use it would be more like 2> or 2>> or
> 2>>&1 to redirect from stderr. But that's not my question. I thought that
> redir was a mingw utility. Is it not? I saw it in use in a mingw project.
>
Ahhh, never mind. I understand now, though I had to guess. What I had to
do was use the mingw-get command:
mingw-get install mingw-utils
Or to list all that can be downloaded use:
mingw-get list | less
Not sure how I stumbled on this, but I'm glad I did. I looked back at the
main page and see that there is a passing reference to it, but it really
isn't prominent.
Ah well, I found what I was looking for. That's the main thing.
A