Apples-MacBook-Pro:/ apple$ sh -c '/bin/echo -n "$IFS" | hexdump' sh: error: /bin/echo -n "$IFS" | hexdump: No such file or directory sh: fatal error: no input files compilation terminated.
Apples-MacBook-Pro:/ apple$ sh --version sh (Carlson-Minot Mac OSX Intelx86 2013.05-24 Lite) 4.7.3 Copyright (C) 2012 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. I was looking for arm linux gcc toolchain and I remember installing Carlson-Minot package. Is that causing this behaviour ? On Sun, Aug 31, 2014 at 1:56 AM, Dave Horsfall <[email protected]> wrote: > On Sat, 30 Aug 2014, Ryan Schmidt wrote: > > > /bin/echo is necessary to get support for -n, and enclosing the variable > > in quotes is necessary so the shell doesn't mangle it before it gets to > > echo. > > I'm sure that one of Dante's circles of hell is reserved for whoever made > "echo" a built-in. Bill Joy and CSH, wasn't it? > > -- Dave, now on Mavericks (yay!) > _______________________________________________ > macports-users mailing list > [email protected] > https://lists.macosforge.org/mailman/listinfo/macports-users >
_______________________________________________ macports-users mailing list [email protected] https://lists.macosforge.org/mailman/listinfo/macports-users
