News for hackers. Stuff that matters.
Re:Unix doesn’t follow the Unix philosophy by telemachos on Friday May 25, 2012 @09:47AM (#4023418)
> A lot of legacy has been shed.

An example I remember from the UNIX to Plan 9 command translation page[1]:

    UNIX                       Plan 9

    head                       sed 10q
[1]: http://www.plan9.bell-labs.com/wiki/plan9/unix_to_plan_9_com...
Re:Unix doesn’t follow the Unix philosophy by DeepDuh on Friday May 25, 2012 @10:09AM (#4023518)
Looking at this list I can't really tell why this is supposed to be better. Shedding complexity ok - but getting rid of many shorthands that are there for a reason? It reminds me of how Java wanted to replace printf with a ridiculously complex string formatting system.
Re:Unix doesn’t follow the Unix philosophy by sp332 on Friday May 25, 2012 @10:15AM (#4023549)
The point is that "head" on your system is not the same as "sed 10q". There are two different codebases. By default head shows the first 10 lines but you can change it with flags etc. Well why bother when you already have sed to do that?

  head -n 5         sed 5q
For most cases, head is not a shortcut. 10 is just a special case.
Re:Unix doesn’t follow the Unix philosophy by DeepDuh on Friday May 25, 2012 @10:46AM (#4023710)
I agree with that change. I don't with many others.
Re:Unix doesn’t follow the Unix philosophy by telemachos on Friday May 25, 2012 @10:16AM (#4023554)
Getting rid of good things would be bad, but is sed 10q really "ridiculously complex"?
Re:Unix doesn’t follow the Unix philosophy by DeepDuh on Friday May 25, 2012 @10:45AM (#4023706)
No, but $home instead of ~ is, IMO.
Re:Unix doesn’t follow the Unix philosophy by ori_b on Friday May 25, 2012 @02:45PM (#4024883)
The thing is that ~ is special shell magic. $home is an environment variable, and is consistently expanded as such.

Although, to my eyes, the most plan9-y way of implementing a home directory would be to have '/home' as your home directory no matter what, and have it default to a bind from /usr/$username.

Re:Unix doesn’t follow the Unix philosophy by DeepDuh on Friday May 25, 2012 @08:08PM (#4025913)
btw why /usr? I get it that in unix legacy it started as the users folder, but won't this be confusing as hell for all people that have come to know it as unix system resources? Why not /users?
Re:Unix doesn’t follow the Unix philosophy by ori_b on Friday May 25, 2012 @08:31PM (#4025971)
Because that is what it's called on plan9.
Re:Unix doesn’t follow the Unix philosophy by telemachos on Friday May 25, 2012 @10:47AM (#4023719)
Ah, fair enough. I really only meant to cite the one example - since I found it so striking when I first saw it. (It had never occurred to me to use sed for head that way.)