Newsgroups: comp.os.vms
Subject: Re: at the risk of drawing severe flamage - q's about VMS/DCL & Unix
From: isodonovan@npe.isnet.inmos.co.uk
Date: 1 Sep 92 10:45:24 GMT
Organization: Inmos Limited
Nntp-Posting-User: netnonpriv

In article <1992Aug31.094150.584@glas.rtsg.mot.com>, waider@glas.rtsg.mot.com (Ronan Waide) writes:
> Hi all,
> 
> I'm currently working with a Unix system and will soon be returning (after
> Christmas) to a VAX 8350 (8530??) running VMS 5.3 ish. What I want to know
> is if the vanilla VMS comes with any feature resembling a Unix pipe? To any
[...]
There's vms-posix (about which I know nothing...).  There is also Ken
Walleweins's PIPE utility, which is a bundle of command procedures which do the
job rather well.

From the readme file:
--------------------------------------------------------------------------------
Contents
========

The PIPE collection includes:

PIPE    Allows combining DCL commands to operate data
        eg: pipe SHOW LOGICALS * |grep TT,TX |srt >lp:
	$! shows only logicals pointing directly to TT and TX devices
	without worrying about temporary intermediate files.

	PIPE provides wildcard filespecs for any command, eg:
	  $ pipe dir *.FOR | +edit 
	edits every .FOR file.  The '+' switches the mode to 'execute with 
	data as args' from the default 'execute with data as input'.

	PIPE allows multiple commands to be executed sequentially, as in:
	  $ pipe show users > OPA0: ;sho sys >OPA0:

	PIPE allows redirection of output for programs which don't normally 
	allow this, eg: 
	  $ pipe auth sho brief * >lp:

	PIPE allows more selective outputs from programs, eg:
	  $ p show system |grep acp,symb
	  $! show only ACPs and SYMBIONTs

Misc. Filters
        These are programs designed to work with PIPE.  NOTE: Compiled 
	programs need no special treatment. Just compile as appropriate and 
	link, both without any special options. 

SUBSTITUTE
        Uses PIPE and EDT to do simple search/substutite on many files
        from a command line

PURGABLE
        Displays purgable files in any directory/filespec.  Essentially 
	equivalent to what DIR/EXC=; would do if it worked.

[...]

Soap Box
========

  In sharing PIPE, my hope is that others will find it sufficiently useful that
they will want to improve it, and that they will then share those improvements
with myself and others. The best tools seem to grow this way.

/kenw

Ken Wallewein                                                     A L B E R T A
kenw@noah.arc.cdn                                               R E S E A R C H
(403)297-2660                                                     C O U N C I L
--------------------------------------------------------------------------------
I hope this helps,

  --Brian

> 
> Ronan Waide.
> -- 
> Ronan Waide, Motorola Ireland                        waider@glas.rtsg.mot.com
> .__. .  . ._.  .__. ._.  .__. .  . .__  . .   Live Nowhere.
> |    |__| |_|. |__  |_|. |__| |  | |  | |_|.  Belive Nothing.
> ||_. ._|| ||_| ||_. || | ||   ||_| || | || |  Trust Noone.
-- 
---------------------------------------/--------------------------------------
Brian O'Donovan                        /                       'o-Dzin Tridral
eMail: Isodonovan@Isnet.Inmos.Co.Uk    / "Sang-ngak-cho-dzong" -
Phone: +44 633 810121 X384             / Tibetan Buddhist Group in the UK & US
Mail : Inmos Ltd, Cardiff Road,        / 5 Court Close, Whitchurch, Cardiff,
       Newport, Wales, UK, NP9 1YJ     / Wales, UK, CF4 1JR
---------------------------------------/--------------------------------------
      "No one's ever come back to say there *isn't* a life after death"
---------------------------------------/--------------------------------------