タグ

関連タグで絞り込む (0)

  • 関連タグはありません

タグの絞り込みを解除

shellとposixに関するshimookaのブックマーク (1)

  • test file1 -ef file2 - odz buffer

    ref:http://d.hatena.ne.jp/hnw/20090109 たまたま手元の実装がそういう挙動だっただけなのか、違う挙動の環境もあるのかはわかりません。そもそも、由緒正しいshが標準装備しているのかも僕は情報を持っていません。ただ、Ubuntu8.04とMacOS10.5のshでも上記と同じ挙動でした。 POSIX の定義にはないですね。 Some additional primaries newly invented or from the KornShell appeared in an early proposal as part of the conditional command ( [[]]): s1 > s2, s1 < s2, str = pattern, str != pattern, f1 -nt f2, f1 -ot f2, and f1 -ef f2

    test file1 -ef file2 - odz buffer
  • 1