Is there a way to replace only the sh ? just in case if I can avoid the
reinstall...


On Sun, Aug 31, 2014 at 2:32 AM, Brandon Allbery <[email protected]>
wrote:

> You have a problem.
>
> That /bin/sh appears to not be a shell at all, but gcc (based on the error
> messages). I'm not even sure how that system is still *running*. Depending
> on what else got replaced with unexpected things, you may be looking at an
> OS reinstall.
>
> On Sat, Aug 30, 2014 at 4:54 PM, vignesh babu <[email protected]>
> wrote:
>
>> Apples-MacBook-Pro:/ apple$ type sh
>> sh is hashed (/bin/sh)
>>
>>
>> On Sun, Aug 31, 2014 at 2:22 AM, Brandon Allbery <[email protected]>
>> wrote:
>>
>>> On Sat, Aug 30, 2014 at 4:47 PM, vignesh babu <[email protected]>
>>> wrote:
>>>
>>>> Apples-MacBook-Pro:/ apple$ sh -c '/bin/echo -n "$IFS" | hexdump'
>>>> sh: error: /bin/echo -n "$IFS" | hexdump: No such file or directory
>>>>
>>>
>>> *facepalm*
>>>
>>> What does "type sh" say? Because that's not Apple's /bin/sh.
>>>
>>>
>>> --
>>> brandon s allbery kf8nh                               sine nomine
>>> associates
>>> [email protected]
>>> [email protected]
>>> unix, openafs, kerberos, infrastructure, xmonad
>>> http://sinenomine.net
>>>
>>
>>
>
>
> --
> brandon s allbery kf8nh                               sine nomine
> associates
> [email protected]
> [email protected]
> unix, openafs, kerberos, infrastructure, xmonad
> http://sinenomine.net
>
_______________________________________________
macports-users mailing list
[email protected]
https://lists.macosforge.org/mailman/listinfo/macports-users

Reply via email to