Re: DCL versus Unix CLIs, was: Re: File output like Unix
- From: "David J. Dachtera" <djesys.nospam@xxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 27 Apr 2006 20:22:57 -0500
Simon Clubley wrote:
In article <1146094463.265362.201570@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>, "AEF" <spamsink2001@xxxxxxxxx> writes:
Simon Clubley wrote:
Two examples of more powerful commands:
grep (the Unix version of search) can do full regular expression
pattern matching.
Can it do something like $ SEARCH FILE.TYP WORD1,WORD2,... with
/MATCH=(one of OR, NOR, AND, NAND, ...) Maybe it can ... I'm just
asking but I think the answer is no.
Yes, that is a nice feature of search. You can achieve most (maybe all) of
that with grep by feeding the output of one grep into another. (grep has
the ability to output just a list of filenames that did, or didn't match
a search string,
Take a look at "SEARCH filespec/WINDOW=0 string".
and the /match=or ability is built in as part of the regular
expression functionality).
Things that I dislike about DCL (these relate to 7.3-1 and prior versions,
I haven't upgraded to a later version yet):
You can't edit commands across linewrap boundaries.
Has this been fixed in later VMS versions ?
Isn't this more about the terminal driver?
Probably, but it's unbelievable that DCL _still_ cannot do this. Even the
Windows command shell can do this.
It's beyond DCL's control.
Remember: in VMSland, wheels are not commonly re-invented, except by the
under-informed. So, input routines will tend to employ the common
services available rather than try to support special features on an
individual basis.
Here's one for you: Ever try writing a SET DEFAULT program in Unix
shell script?
Interestingly, I don't use SET DEFAULT/cd utilities on either VMS or Unix.
I have one in DCL that I use to allow for both VMS and UN*X/DOS syntax
so some of my vendors can feel a little more at home (very few
VMS-competent people around these day, y'know ;-) and so I can do "SET
DEF [-]" as simply "CD ..".
When working in multiple directories, I tend on both VMS and Unix to have
multiple DCL/bash windows open, with the current directory in each window
set to a different directory.
Also, it's a lot easier to change directories when you can just press Tab
to complete a directory name.
I've never seen a use for that which couldn't be better served another
way.
--
David J Dachtera
dba DJE Systems
http://www.djesys.com/
Unofficial OpenVMS Marketing Home Page
http://www.djesys.com/vms/market/
Unofficial Affordable OpenVMS Home Page:
http://www.djesys.com/vms/soho/
Unofficial OpenVMS-IA32 Home Page:
http://www.djesys.com/vms/ia32/
Unofficial OpenVMS Hobbyist Support Page:
http://www.djesys.com/vms/support/
.
- References:
- File output like Unix
- From: contracer11
- Re: DCL versus Unix CLIs, was: Re: File output like Unix
- From: Simon Clubley
- File output like Unix
- Prev by Date: OT: Intels quickens cadence for new 8086s
- Next by Date: Re: Virtual I/O Cache
- Previous by thread: Re: DCL versus Unix CLIs, was: Re: File output like Unix
- Next by thread: How does File ID correspond to kfe$w_fid_num?
- Index(es):
Relevant Pages
|