タグ

ブックマーク / googlewhacks.blogspot.com (1)

  • Macportsのcoreutilsコマンド群はなんでも「g」から始まる

    CoreutilsはcatやlsといったUNIX上の基的なコマンドを集めたGNUのパッケージである。これをMacPortsからインストールしたからGNUのコマンド群が使えるようになるぞ、と思っているとハマることになる。Coreutilsを普通にインストールしても、「ls」はインストールされないのである。 % port file coreutils /opt/local/var/macports/sources/rsync.macports.org/release/ports/sysutils/coreutils/Portfile <- coreutilsはインストールされている % ls --help ls: illegal option -- - <- GNUのlsではない usage: ls [-ABCFGHLPRSTWabcdefghiklmnopqrstuwx1] [file .

    m-ohshita
    m-ohshita 2009/01/10
    25 BSDでええやん
  • 1