www.delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-2.6 required=5.0 tests=BAYES_00,SPF_HELO_PASS,SPF_PASS |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <22846005.post@talk.nabble.com> |
Date: | Thu, 2 Apr 2009 04:45:09 -0700 (PDT) |
From: | sudhap85 <sudhap AT techmahindra DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | RE: cygwin commands (cat,grep) not working in my windows 2008 machine |
In-Reply-To: | <5E25AF06EFB9EA4A87C19BC98F5C875302F66374@core-email.int.ascribe.com> |
MIME-Version: | 1.0 |
References: | <22842028 DOT post AT talk DOT nabble DOT com> <5E25AF06EFB9EA4A87C19BC98F5C875302F66374 AT core-email DOT int DOT ascribe DOT com> |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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 |
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. Also Am running perl script (PERL version 5.8.0) in windows 2008 platform. Phil Betts-2 wrote: > > sudhap85 wrote: >> I am using windows 2008 machine. I have installed latest cygwin. >> Here I am facing problem with the "cat" "grep" commands. In command >> line its working fine. but In my scripts it's giving error. > > So what's the error? Without this as a clue, we can only guess. > > How are you running your scripts? (e.g. from a bash shell, a cmd > shell, or from a shortcut) > > My WAG is that $PATH in the script is different from $PATH on the > command line. > >> Am using PERL script for my testing. These commands are not working >> in the following scenario, >> 1. cat file1 > file2 >> 2. grep 'compileCFFilters' MHSlog >> resultfile >> I have also installed the Activeperl in my system. >> Also, I am running the script with PERL 5.8.0 version. > > Please read and follow the instructions in this link: >> Problem reports: http://cygwin.com/problems.html > > Pay particular attention to the instruction to run "cygcheck -svr", > *attaching* the output to your reply (i.e. don't paste it in). > > > Phil > > This email has been scanned by Ascribe Ltd using Microsoft Antigen for > Exchange. > > -- > 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-tp22842028p22846005.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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |