Cygwin使っている人いますか? その22

1名無しさん@お腹いっぱい。
垢版 |
2014/09/06(土) 01:51:45.73
Cygwin Information and Installation
http://www.cygwin.com/

Cygwin アンテナ
http://sohda.net/cygwin/antenna/
2名無しさん@お腹いっぱい。
垢版 |
2014/09/06(土) 01:52:25.40
過去スレ
1 ttp://pc.2ch.net/unix/kako/963/963123573.html
2 ttp://pc.2ch.net/unix/kako/1003/10033/1003358904.html
3 ttp://pc.2ch.net/unix/kako/1011/10113/1011345180.html
4 ttp://pc.2ch.net/unix/kako/1018/10188/1018882767.html
5 ttp://pc.2ch.net/unix/kako/1024/10248/1024809685.html
6 ttp://pc.2ch.net/unix/kako/1033/10334/1033484276.html
7 ttp://pc.2ch.net/unix/kako/1039/10394/1039449446.html
8 ttp://pc.2ch.net/unix/kako/1047/10474/1047489645.html
9 ttp://pc.2ch.net/unix/kako/1055/10552/1055250582.html
10 ttp://pc.2ch.net/unix/kako/1066/10660/1066042212.html
11 ttp://pc5.2ch.net/test/read.cgi/unix/1076240971/
12 ttp://pc5.2ch.net/test/read.cgi/unix/1086622860/
13 ttp://pc5.2ch.net/test/read.cgi/unix/1099157755/
14 ttp://pc8.2ch.net/test/read.cgi/unix/1107587275/
15 ttp://pc8.2ch.net/test/read.cgi/unix/1119982766/
16 ttp://pc8.2ch.net/test/read.cgi/unix/1134474192/
17 ttp://pc11.2ch.net/test/read.cgi/unix/1154022733/
18 ttp://pc11.2ch.net/test/read.cgi/unix/1184677144/
19 ttp://pc12.2ch.net/test/read.cgi/unix/1230683366/
20 ttp://toro.2ch.net/test/read.cgi/unix/1268282846/
21 ttp://peace.2ch.net/test/read.cgi/unix/1331382186/
3名無しさん@お腹いっぱい。
垢版 |
2014/09/06(土) 01:52:52.50
関連スレ
http://find.2ch.net/?STR=Cygwin&;TYPE=TITLE&x=0&y=0&BBS=ALL&ENCODING=SJIS&COUNT=50

FAQ
Q. XXX というコマンドはどのパッケージに含まれているの?
A. ttp://www.cygwin.com/packages/ で検索しれ

Q. Cygwin は UNIX の勉強に使えますか?
A. Cygwin は UNIX に慣れた人間が Windows 上で楽するのには向いていますが、
  UNIX の勉強には向いていません。
4名無しさん@お腹いっぱい。
垢版 |
2014/09/06(土) 01:54:08.67
関連スレ検索はこっちで
ttp://dig.2ch.net/?keywords=Cygwin&AndOr=0&maxResult=50&atLeast=1&Sort=5&Link=1&Bbs=all&924=1
2014/09/08(月) 17:45:19.71
6名無しさん@お腹いっぱい。
垢版 |
2014/09/11(木) 23:50:19.41
Windowsベースだからファイル名の大文字小文字を区別しないのは納得できる。
しかし sortコマンドがファイルの内容まで大文字区別しないのは納得しかねる。
具体的には

$ cat a.txt
a1
A2
_1

を sortすると
$ sort a.txt
_1
a1
A2

になる。
もしかしてそのたぐいのオプションとかあります?
2014/09/12(金) 00:31:27.88
sort --help
2014/09/12(金) 23:20:19.98
LANG=C
9名無しさん@お腹いっぱい。
垢版 |
2014/09/13(土) 11:18:57.28
>>7
オプションのとこしか見てなかった。

>>8
サンクス

しかし en_US.UTF-8 でも区別してくれないんだな。
Macはどうなんだろう?
2014/09/13(土) 14:41:53.02
>>9
bash-3.2$ sw_vers
ProductName: Mac OS X
ProductVersion: 10.9.4
BuildVersion: 13E28
bash-3.2$ echo $LANG
ja_JP.UTF-8
bash-3.2$ sort --version | head -n1
sort (GNU coreutils) 5.93
bash-3.2$ cat a.txt
a1
A2
_1
bash-3.2$ sort a.txt
A2
_1
a1
bash-3.2$ sort -d a.txt
_1
A2
a1
bash-3.2$ sort -df a.txt
_1
a1
A2
2014/09/13(土) 17:25:16.44
>>10
サンクス!
2014/09/16(火) 21:05:35.11
Cygwinとhowm、emacsは手放せない。
2014/10/12(日) 22:49:02.08
変なのがいなくなったと思ったら、一気に過疎化したなw
2014/10/26(日) 16:25:27.01
興味本位の質問なんですが、
cygwin の stat コマンド等が扱う ‘ctime’は、NTFS 上で
http://www.ji2.co.jp/forensics/ForensicsAQ/artifact/GA_F002_NTFS.pdf
の 4ページ目の「エントリ更新日時」に対応しているっていうので、合ってますか?
2014/10/26(日) 17:27:57.04
>>14
stat は coreutils に入ってるので、ソース(パッチ)見てみた。
setpu-x86.exe で coreutils の src にチェックを付けてインストール。
mintty 起動して、/usr/src/ に coreutils-x.xx 出来てるので、

$ grep -C 10 ctime coreutils-8.23-4.cygwin.patch
(略)
+This release depends on features that did not exist prior to
+cygwin-1.7.32. There are still corner cases of POSIX compliance that
+are impossible without more support from future cygwin versions, such
+as proper treatment of directory ctime or atomicity of some low-level
+functions, or outright impossible, such as hard links on a FAT drive.
+Cygwin provides its own `kill' that understands Windows pid's, so the
+coreutils version is renamed `gkill'. Although coreutils provides
+an `uptime', on Cygwin you will need the `procps' package. I would
+appreciate help in getting `stdbuf' ported to Cygwin. There are
+several bugs in the testsuite, so don't be alarmed at failures and
+use `make -k check' to make it to the end.
2014/10/26(日) 18:41:48.26
>>15
レスありがとう。posix準拠させるには周辺状況が厳しいって事ですね。
内部的な事は、ソースを読みつつゆっくりと調べてみようと思います。
17名無しさん@お腹いっぱい。
垢版 |
2014/10/26(日) 22:34:44.90
setpu-x86.exeてどこにあった奴よ
2014/10/26(日) 22:50:53.96
解決した話題に対して重箱の隅つついてる暇があったら有用な情報を書け
19名無しさん@お腹いっぱい。
垢版 |
2014/10/27(月) 00:02:18.60
だっさ
2014/10/27(月) 08:47:26.22
setup-x86.exeとsetup-x86_64.exeの新しいバージョンだけど
ファイルサイズが異様に大きくなってるな
レスを投稿する

5ちゃんねるの広告が気に入らない場合は、こちらをクリックしてください。

ニューススポーツなんでも実況