Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Nov 2011 11:31:28 -0400
From:      Mark Saad <nonesuch@longcount.org>
To:        Garrett Cooper <yanegomi@gmail.com>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: What is going on with ash / sh
Message-ID:  <CAMXt9NagPZ=9OFBZJe-cEP174vXMazgessLsBfC-p2D4zx695w@mail.gmail.com>
In-Reply-To: <CAGH67wSkxCVqjzhfe4rP_sdbtWa7uB%2BpxX0DT%2BRCMzpLcu4mjQ@mail.gmail.com>
References:  <CAMXt9NYcO4JsZRUr_TVzoE08F7hyED4EUM5RBH2w6gC5_NSe5Q@mail.gmail.com> <CAGH67wSkxCVqjzhfe4rP_sdbtWa7uB%2BpxX0DT%2BRCMzpLcu4mjQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Nov 2, 2011 at 4:37 PM, Garrett Cooper <yanegomi@gmail.com> wrote:
> On Wed, Nov 2, 2011 at 1:28 PM, Mark Saad <nonesuch@longcount.org> wrote:
>> Hackers
>> =C2=A0What is going on here, if I run the following shell script, what i=
s
>> the expected output . The script is named xxx
>>
>> #!/bin/sh
>> ps -ax | grep -v grep | grep xxx
>>
>> Here is what I see
>>
>>
>> =C2=A0# sh xxx
>> 88318 =C2=A0p0 =C2=A0S+ =C2=A0 =C2=A0 0:00.00 sh xxx
>> 88320 =C2=A0p0 =C2=A0R+ =C2=A0 =C2=A0 0:00.00 sh xxx
>> 88321 =C2=A0p0 =C2=A0R+ =C2=A0 =C2=A0 0:00.00 sh xxx
>
> =C2=A0 =C2=A0No idea. jobs isn't a shell builtin so you can't verify what=
 jobs
> are currently running via the shell if there are any. What version of
> FreeBSD are you using and what do your $ENV and .profile files look
> like?
> Thanks,
> -Garrett
>
I ran this test on 7.3-RELEASE and 8.2-RELEASE and I do not have
anything weird in my .profiles or env. This is on a fresh install of
each os.




--=20
mark saad | nonesuch@longcount.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAMXt9NagPZ=9OFBZJe-cEP174vXMazgessLsBfC-p2D4zx695w>