This is the mail archive of the cygwin 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]
Other format: [Raw text]

Re: PS and AWK Linux Commands on Cygwin


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@winfirst.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


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