4 ms·
I agree with you about find, but I was thinking of the utility itself rather than the command-line usage. 'find' is at least descriptive of what the command doe
by anigbrowl 13y ago
I agree with you about find, but I was thinking of the utility itself rather than the command-line usage. 'find' is at least descriptive of what the command does. 'cp' is somewhat like 'copy' but 'man' should be called 'help', 'ls' should be called 'list' and 'grep' would be more obvious with any name, except maybe 'brian.'
- glurgh 13y agoThe 'unfriendliness' doesn't come from the names, it's that for it to make sense you have to absorb some conceptual framework of how the thing works. People adapt to odd names quite easily, just as you have, once they get used to them - both syntactically (ls doesn't actually stand for 'list') and semantically (find doesn't really find, maybe 'ftraverse' for filtered traverse). To use the unix command line you have to get your head around a bunch of key concepts, say, globbing, i/o redirection, pipes, etc. After that, whether it's 'grep' or 'brian' isn't going to get in your way much. This sort of jargon is pretty typical, though, and I think it's a fairly small barrier. Want to learn some LISPy language? Here come the entirely meaningless car, cdr, cons, s-expression. Functional processing of sequences? Well you can map, you can reduce, you can zip, you can fold. Building your first RoR app? Don't forget to railtie your merb to the phusion gem of the sinatra rack, but not before you've raked your capistrano with a cucumber. You can probably safely rename every JS framework to an MMM (Marklar, Marklar, Marklar) framework given the liberties they take with the meaning of the things M, V and C stand for. You can give, say, 'cat' or 'tee' magically and perfectly clear names but than in itself won't make anyone understand things like 'unix utilities have one input and two output streams' any better.
- dylangs1030 13y agoI actually love grep. I'm not sure why, but it's taken such a hold in my brain that I intuitively associate searching for something specific with the word "grep." I agree with man. It makes sense technically because of "manual"...except that "man" is its own word. Every time I type man, I feel like I'm typing the gender, and it's weird. cp bothers me because they shortened a four-letter word, the same with ls and list. Despite the original terminal constraints, they couldn't spare two characters?
- dragonwriter 13y ago> cp bothers me because they shortened a four-letter word, the same with ls and list. Despite the original terminal constraints, they couldn't spare two characters? Really, I think that with an OS designed in the late 1960s, brutally reducing commonly-used commands to the shortest recognizable form was a very good idea. Storage capacity (both RAM and persistent), processor speeds, and bandwidth for internal and network transfers were all many orders of magnitude less than today's systems. Extra bytes had a real cost.
- glurgh 13y agoI get to self-pedantipoint myself here, 'ls' does not stand for the Multics 'list segments' as I thought, it didn't mean 'list segments' in Multics either, that's just folk etymology that's made it into Wikipedia (I just took it out). http://alt.folklore.computers.narkive.com/7q9reknM/1950s-at-t-ibm-lack-of-collaboration.4 http://alt.folklore.computers.narkive.com/7q9reknM/1950s-at-... Author of that post is Tom Van Vleck, who ought to know. http://en.wikipedia.org/wiki/Tom_Van_Vleck http://en.wikipedia.org/wiki/Tom_Van_Vleck