Cshell is punk rock

栏目: IT技术 · 发布时间: 4年前

内容简介:Bill Joy’s 1978 contribution toCshell is synonymous with ‘don’t use Cshell.’ Every time I look up a ‘howto’ or workaround about it, inevitably, there’s at least one diatribe knocking it down. Cshell is punk rock in this regard; few believe in its merits.I

Bill Joy’s 1978 contribution to UNIX shells is an immature, brash little son-of-a-bitch, and I love it for all that it is.

Cshell is synonymous with ‘don’t use Cshell.’ Every time I look up a ‘howto’ or workaround about it, inevitably, there’s at least one diatribe knocking it down. Cshell is punk rock in this regard; few believe in its merits.

Low fidelity

I like Cshell quite bit. It’s from the heyday of BSD , and there’s a certain bombastic nature in the tools that came from this movement. Cshell has this residue for certain.

‘Never script with Cshell,’ they say. Well, there’s SNAFU s galore in this tool, and I’m not going pretend to deny it. Why, just this week, something wasn’t working, and the work-around was clearly mystical in nature.

However, there’s a ton that’s great with this bratty shell:

  1. It’s lean
  2. It’s embraced by the OpenBSD folks
  3. It has arrays (hell ya)
  4. Scripts can start with the ‘#’ character only
  5. ‘cshrc’ configuration files read somewhat beautifully

It’s a small list, yes, but my point is there’s some unique goodness to Cshell (not least of which is the first point — I think there’s a chance that a person can actually master this shell, committing all its features to memory. I don’t think I could do that with ‘bash’).

Tight pants

Cshell is probably in the alt-tech category for most modern developers. I don’t think it stands a chance next to the likes of the endlessly featured and popular ‘zsh’ and ‘bash.’

But that’s my point about Cshell. It’s a little punk rocker from yesteryear. One that gets a ton of flak, though I wouldn’t be surprised if eighty per cent of this is just hackers repeating what they’ve heard second-hand.

If you’re into alt-tech, would like to ponder over tools created in a stoked time of programming, or just want to see how ‘bad’ Cshell is, give it a spin sometime. But be careful, you might be one of those people who falls under its spell never to use anything else again! (You’ve been warned.)


以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持 码农网

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

数学之美 (第二版)

数学之美 (第二版)

吴军 / 人民邮电出版社 / 2014-11 / 49.00元

几年前,“数学之美”系列文章原刊载于谷歌黑板报,获得上百万次点击,得到读者高度评价。读者说,读了“数学之美”,才发现大学时学的数学知识,比如马尔可夫链、矩阵计算,甚至余弦函数原来都如此亲切,并且栩栩如生,才发现自然语言和信息处理这么有趣。 在纸本书的创作中,作者吴军博士几乎把所有文章都重写了一遍,为的是把高深的数学原理讲得更加通俗易懂,让非专业读者也能领略数学的魅力。读者通过具体的例子学到的......一起来看看 《数学之美 (第二版)》 这本书的介绍吧!

随机密码生成器
随机密码生成器

多种字符组合密码

正则表达式在线测试
正则表达式在线测试

正则表达式在线测试

RGB HSV 转换
RGB HSV 转换

RGB HSV 互转工具