What have you found for these years?

2009-01-12

git-shell

剛剛按 git 加 tab:
godfat ~/p/g/photos> git
git (Executable, 964kB) git-upload-archive (Executable, 964kB)
git-cvsserver (Executable, 113kB) git-upload-pack (Executable, 378kB)
git-receive-pack (Executable, 964kB) gitk (Executable, 293kB)
git-shell (Executable, 369kB)

很好奇 git 居然也有 shell ?? 是說進去之後都是 interactive mode 嗎?
於是:

godfat ~/p/g/photos> git-shell
fatal: What do you think I am? A shell?

.......

godfat ~/p/g/photos> git-shell --help
fatal: What do you think I am? A shell?

godfat ~/p/g/photos> git-shell -h
fatal: What do you think I am? A shell?

godfat ~/p/g/photos> git-shell -help
fatal: What do you think I am? A shell?

無奈只好看看 git help:

godfat ~/p/g/photos> git help shell

git-shell - Restricted login shell for GIT-only SSH access

然後就囧,shell 不是 shell, 還要順便酸一下是怎樣 XD
接著看到 author: Written by Linus Torvalds
又想到之前在 ruby-core 看到的

[quote="Giuseppe Bilotta"]
As I mentioned, user friendlyness is being worked on, and proceeds
very fast, especially since Linus isn't the lead developer anymore ;-).
[/quote]

想見 Linus 也是個很有自己意見的 geek 吧 XD

不過其實我覺得有些時候命名真的不要太死板,不然很無趣。
像是 cat, rake... 一時想不到太多轉很多彎的名字,
總之就是一眼看不出來其用意,但熟了之後又有那種黑話的樂趣。
make me a sandwich 也是類似的感覺。

有時候也是需要一些黑話,在圈裡才比較好溝通啊。
不然何必需要 DSL 哩?

0 retries:

Post a Comment

Note: Only a member of this blog may post a comment.



All texts are licensed under CC Attribution 3.0