From: sudhap85 <sudhap@techmahindra.com>
To: cygwin@cygwin.com
Subject: Re: cygwin commands (cat,grep) not working in my windows 2008 machine
Date: Thu, 02 Apr 2009 12:26:00 -0000 [thread overview]
Message-ID: <22846690.post@talk.nabble.com> (raw)
In-Reply-To: <49D4A690.4030803@byu.net>
hi,
The same test got passed with cygwin 5.2 in windows 2003.
Eric Blake wrote:
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> According to sudhap85 on 4/2/2009 5:45 AM:
>> Hi,
>> what i means the problem here is that function is not working for
>> me.
>> (i.e) if i run cat > file1 >>file2. Here file1 content is not copied to
>> file2.
>
> This is not cygwin specific. Nor is it how the shell works. If you want
> output to go to two places, you need to use tee, not multiple redirection
> operators.
>
> tee file2 < file1 >> file3
>
> copies file1 into file2 (overwrite) and file3 (append). You probably want
> to read a good shell tutorial book.
>
> - --
> Don't work too hard, make some time for fun as well!
>
> Eric Blake ebb9@byu.net
> volunteer cygwin coreutils maintainer
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (Cygwin)
> Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iEYEARECAAYFAknUppAACgkQ84KuGfSFAYD8DwCeImC/gLouWFsuuwCMaVYPhVBl
> de0AnRneVc9D4xhQZcSCM4AJIyrZcXMt
> =edno
> -----END PGP SIGNATURE-----
>
> --
> Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
> Problem reports: http://cygwin.com/problems.html
> Documentation: http://cygwin.com/docs.html
> FAQ: http://cygwin.com/faq/
>
>
>
--
View this message in context: http://www.nabble.com/cygwin-commands-%28cat%2Cgrep%29-not-working-in-my-windows-2008-machine-tp22842028p22846690.html
Sent from the Cygwin list mailing list archive at Nabble.com.
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
next prev parent reply other threads:[~2009-04-02 12:26 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-02 6:58 sudhap85
2009-04-02 10:32 ` Phil Betts
2009-04-02 11:45 ` sudhap85
2009-04-02 11:51 ` Eric Blake
2009-04-02 12:26 ` sudhap85 [this message]
2009-04-02 17:16 ` Christopher Faylor
[not found] <1345167629309-47356.post@n5.nabble.com>
2012-08-17 2:08 ` cyberdon
2012-08-17 15:06 ` Christopher Faylor
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=22846690.post@talk.nabble.com \
--to=sudhap@techmahindra.com \
--cc=cygwin@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).