What is going on with ash / sh
Mark Saad
nonesuch at longcount.org
Thu Nov 3 15:31:30 UTC 2011
On Wed, Nov 2, 2011 at 4:37 PM, Garrett Cooper <yanegomi at gmail.com> wrote:
> On Wed, Nov 2, 2011 at 1:28 PM, Mark Saad <nonesuch at longcount.org> wrote:
>> Hackers
>> What is going on here, if I run the following shell script, what is
>> the expected output . The script is named xxx
>>
>> #!/bin/sh
>> ps -ax | grep -v grep | grep xxx
>>
>> Here is what I see
>>
>>
>> # sh xxx
>> 88318 p0 S+ 0:00.00 sh xxx
>> 88320 p0 R+ 0:00.00 sh xxx
>> 88321 p0 R+ 0:00.00 sh xxx
>
> No 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.
--
mark saad | nonesuch at longcount.org
More information about the freebsd-hackers
mailing list