If you have a file, call it X, containing the following: > '/bin/echo -n "$IFS" | hexdump' > cc
and you then run the command « sh < X », you get: > sh: line 1: /bin/echo -n "$IFS" | hexdump: No such file or directory > clang: error: no input files on my 10.9.4 system (which is having no problems I am aware of). This is quite similar to the error message being discussed. Furthermore, the command « cmp -b /bin/sh /bin/bash » produces > /bin/sh /bin/bash differ: byte 23, line 1 is 130 X 127 W Greg Shenaut On Aug 30, 2014, at 14:02 , 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
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ macports-users mailing list [email protected] https://lists.macosforge.org/mailman/listinfo/macports-users
