Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Delivered-To: mailing list cygwin@cygwin.com X-Injected-Via-Gmane: http://gmane.org/ To: cygwin@cygwin.com From: "Andrew M. Inggs" Subject: Re: extraneous 'I' in ps output Date: Tue, 4 Feb 2003 15:56:22 -0000 Lines: 26 Message-ID: References: <20030204154222.GA3915@aberdeen.fpcc.net> X-Complaints-To: usenet@main.gmane.org X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 "J.D. Laub" wrote in message news:<20030204154222.GA3915@aberdeen.fpcc.net>... > Here's a simple test case that shows the behavior I'm seeing: > $ dummy=`ps > /tmp/foo` > $ cat /tmp/foo > PID PPID PGID WINPID TTY UID STIME COMMAND > I 1268 1 1268 1268 con 12917 07:42:04 /usr/bin/bash > 1388 1268 1268 1388 con 12917 07:42:19 /usr/bin/bash > 1408 1388 1408 1332 con 12917 07:42:20 /usr/bin/ps > > Anytime ps is called from command substitution, an 'I' gets > prepended to the line for the top shell. > I see this too (cygwin-1.3.19-1). > ps isn't in its own package, and I can't find docs on where to > look to find out in which package it was delivered. I can help you there, try . It helps to narrow things down if you give a bit more than just the filename, e.g., usr/bin/ps (note: no leading / though). From here you'll see ps is in the cygwin package. -- Andrew -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/