delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/08/04/09:31:01

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:date:from:reply-to:to:message-id:in-reply-to
:references:subject:mime-version:content-type
:content-transfer-encoding; q=dns; s=default; b=eil7t9mOM2xgaZJN
LjCboXBta5nw2XP45UZrAhVazeeKoyLbTK8idwr6F66w4mjNFR9MWHELq6bP4l0h
6GO0ZzrIoB+QEMUC25JYa8jU4jwrQe/0tWRaNVN7AzegMvbnIbviOAv4dvZWNxqP
aaOz1XERpfbAbCEcS7CztxQw8Xk=
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:date:from:reply-to:to:message-id:in-reply-to
:references:subject:mime-version:content-type
:content-transfer-encoding; s=default; bh=wjZfYgFvCmckRnwWhWoqpw
N++AU=; b=bcw9mMMioadR9QpIxlhoLLxYgRQgCiqW2AI/cwQpkeD3cKOzjvw00/
SgwfdYRzug6YFcZh4ymvYuB7KDojLXYd4nIIRBmvOrgxtYqgZVXRHJeIoNz3wofn
ESbra7ef0Qg+RxZAY3ZvCycMwsSQkqK+Ytk1q/fCz8+mHeigtPCg0=
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=-1.1 required=5.0 tests=BAYES_50,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 spammy=Hx-languages-length:1347, D*winfirst.com, sk:mehwin, mehwinfirstcom
X-HELO: nm17-vm3.bullet.mail.ne1.yahoo.com
Date: Thu, 4 Aug 2016 13:30:16 +0000 (UTC)
From: Scott Geiger <scott_geiger AT yahoo DOT com>
Reply-To: Scott Geiger <scott_geiger AT yahoo DOT com>
To: Mark Hansen <meh AT winfirst DOT com>, "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Message-ID: <349190139.8903928.1470317416366.JavaMail.yahoo@mail.yahoo.com>
In-Reply-To: <742cdb45-d345-5d5d-2c59-f31c4a2f243a@winfirst.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>
Subject: Re: PS and AWK Linux Commands on Cygwin
MIME-Version: 1.0
X-IsSubscribed: yes

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?


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