Soupspoon wrote:...an overview of a directory contents is made that little easier to comprehend when given some sort of immediate context.
This assumes that there's any utility in knowing what language a given executable is written in. That's what I challenge. If I write a script and name it do-a-thing
, I or anyone else can see "oh, here's an executable whose purpose is to do a thing." When I later need to do a thing, of course I can raise the question in my mind of whether do-a-thing
will be suitable. But that question has little to do with its implementation language. I mean, it's going to parse command line options, have input files, use standard input if there are no input files, indicate success or failure using zero and non-zero return values ... the usual. No matter which language I chose. So really, whether do-a-thing
will be suitable has a lot more to do with who wrote it, and whether I trust that person to have done a good job. And by that logic, I should have named it do-a-thing.ps.02
. (Which I don't.)
I'll admit that 'view' is new to me. When I'm back on my *nix environment I'll see if it exists on my system, but until then I'm just getting pointers to it, in my friendly neighbourhood search engine, as a vi option; which is probably not the command you mean.
It is. view
is really just an alias for vi
which puts it in read-only mode. So you can use it to view a file's contents, with all the vi
search and navigation commands. I don't use it much, actually, because the less
pager has a lot of those same search and navigation capabilities, even using many of the same key-bindings.
(And by the way, I don't think in today's world you really need to worry about being yelled at by the owners of the Unix trademark. If you need a term for "various systems derived from either AT&T or Berkeley Unix™", I think you can just say Unix. Or, if you're looking for a glob pattern to match various OS names like Linux, Solaris, IRIX, OS X, HP/UX and AIX, you'll have to find something a lot more general than *nix
, which matches none of these.)