This is the mail archive of the cygwin@sourceware.cygnus.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]

Re: Tar.exe doing nothing



hi,

I use tar -xf "filename.tar" and works fine.
I notice a lot of the unix utilities have this kind
of behavior if you don't give a complete list of
arguments because they have a feature of
reading input from the standard input which is
what allows you to "pipe" output from one program
to stdout into another program that's reading
from stdin.

I thinkn tar allows you to redirect stdoutput from
another program directly into a tar archive and
that's why you see this behavior.

you should try with the -f  flag for "filename" and
it should work.

/dave

-----Original Message-----
From: Corinna Vinschen <vinschen@cygnus.com>
To: Jonas Jensen <bones0_list@hotmail.com>
Cc: Cygwin list <cygwin@sourceware.cygnus.com>
Date: Tuesday, July 04, 2000 3:35 PM
Subject: Re: Tar.exe doing nothing


>Jonas Jensen wrote:
>>
>> When I use the tar.exe file to try and extract something, it just sits
there, like
>> it's a word processor... it lets me type on the console, but it doesn't
react on
>> any input, like when you start sort.exe in DOS... except that when I
start a new
>> line, it doesn't move the cursor all the way to the left, it just sits
where I
>> left off...
>>
>> I can use "tar --help", but whenever I type "tar -x anyfile.tar", it
shows this
>> weird behavior.
>
>Weird? Why weird? It's doing completely right!
>You should _read_ the output of `tar --help', that might
>give you a clue. ;-)
>
>Corinna
>
>Hint: Search for option '-f'
>
>--
>Corinna Vinschen
>Cygwin Developer
>Cygnus Solutions, a Red Hat company
>
>--
>Want to unsubscribe from this list?
>Send a message to cygwin-unsubscribe@sourceware.cygnus.com
>


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


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