delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/08/04/19:02:11

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=Y/UjKcHcClKKpwjc
h5ioqg+/5PpTFqn5rPUPYSlWded0zkKrNhXNOg3IpRxvrGq2j65DOyLRFrzbULzL
sJzjaboQ3qinLIhr2XQmxf7dbqGhP0KcfDTTCJ23OsI1nCd5Q0pOmsKqmmRW/lWP
ArLa0o5fn5/b+SA4vbkAqLFQtgg=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=V6vx9XxNltqTnONaSYFMbO
22zVM=; b=yIMdgbaXdk7HelR0VHmN6Twh+63Uus7uo0eoRBdwKk0BE/nA6tUFbz
QxaijRnf+8mNK689NUhD+oIYHHY2RaAsqeplbljgCUmXdkEvaIztc7mSyye4B57x
fKPBDU2J5juV4Tj0CiTfN/dEChZftJiuYN5OG8N9cBvnVW8EYREGo=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=2.1 required=5.0 tests=AWL,BAYES_50,KAM_LAZY_DOMAIN_SECURITY,SPF_HELO_PASS autolearn=no version=3.3.2 spammy=Geiger, geiger, meh AT winfirst DOT com, mehwinfirstcom
X-HELO: stargate.mehconsulting.com
Subject: Re: PS and AWK Linux Commands on Cygwin
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
References: <1278249779 DOT 9195574 DOT 1470314208273 DOT JavaMail DOT yahoo DOT ref AT mail DOT yahoo DOT com> <1278249779 DOT 9195574 DOT 1470314208273 DOT JavaMail DOT yahoo AT mail DOT yahoo DOT com> <2cfae133-c91c-6b20-fa7e-f468fac1dc56 AT cs DOT umass DOT edu> <742cdb45-d345-5d5d-2c59-f31c4a2f243a AT winfirst DOT com> <349190139 DOT 8903928 DOT 1470317416366 DOT JavaMail DOT yahoo AT mail DOT yahoo DOT com>
From: Mark Hansen <meh AT Winfirst DOT Com>
Message-ID: <6d194a93-6607-a711-743d-b5f55e3f2c23@Winfirst.Com>
Date: Thu, 4 Aug 2016 16:01:42 -0700
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.1.0
MIME-Version: 1.0
In-Reply-To: <349190139.8903928.1470317416366.JavaMail.yahoo@mail.yahoo.com>

On 8/4/2016 6:30 AM, Scott Geiger wrote:
> Thanks, this was helpful.  When I use -W I get one process that contains the uppercase value that I entered through the grep command but not the lowercase processes.
>
> Is there a parameter to ignore case?

Are you asking if there is a parameter to grep to get it to ignore case?
Have you checked the man page for grep?

http://lmgtfy.com/?q=man+grep

>
>
> On Thursday, August 4, 2016 9:27 AM, Mark Hansen <meh AT winfirst DOT com> wrote:
> On 8/4/2016 6:12 AM, Eliot Moss wrote:
>> So, a couple of things ...
>>
>> Cygwin definitely supports gawk - I use it all the time.
>> My system has a link from awk to gawk, so awk will work.
>> I can't recall if I added that link or if it came with
>> the installation.  awk may be in a separate package
>> that you'll have to install from the Cygwin package
>> installer.
>
> I have a fresh installation of Cygwin and /usr/bin/awk is a link to /usr/bin/gawk - FYI
>
>>
>> As for ps, it works, but it will show only Cygwin
>> related processes.  It may have other limitations
>> as well, because it might be impossible or very
>> difficult to support some POSIX features under
>> Windows.
>
> Cygwin ps allows for a -W command-line argument which tells it to include all windows processes.
> There are other arguments like -l for "long" mode, -f for "full" mode, etc.
>
>
>
> --
> Problem reports:      http://cygwin.com/problems.html
> FAQ:                  http://cygwin.com/faq/
> Documentation:        http://cygwin.com/docs.html
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
>

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019