ブックマーク / 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 .

    sayamatcher
    sayamatcher 2009/05/23
    macportsなcoreutilsとaliasの設定
  • 1