summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>2004-07-14 11:43:31 +0000
committeragc <agc@pkgsrc.org>2004-07-14 11:43:31 +0000
commit1d075e3cfc913c1bf5e331b380a00532300b9dd5 (patch)
tree8c7c4647ea65217f136e56f519652e811a046bbb /doc
parent631491f6edf0e0c3ee5da79106107680a1fa0710 (diff)
downloadpkgsrc-1d075e3cfc913c1bf5e331b380a00532300b9dd5.tar.gz
Initial import of vip, a script which lets you edit data (via $EDITOR
or $VISUAL) at any point in a pipe. From a nudge from David Maxwell. Normally, in a pipeline, when you need to edit some phase of the data stream, you use a standard tool such as sed, grep, or awk to alter, filter, or otherwise manipulate the stream. One potential problem with this approach is that the manipulations have to be very well thought out in advance. Another is that the manipulations will probably need to be applied uniformly. And third, the data must be very well understood in advance. Not all situations and data easily conform to these constraints. Alternatively, when the changes needed for the data are more than trivial, or perhaps you just don't feel like expending the mental energy needed to work out all the expressions in advance, a typical approach might be to run some process or pipeline, dump output to a file, edit the file with vi, pico, or emacs, then push the data along to the next phase by using the file as input to some additional process or pipeline. The catch here - other than the sheer awkwardness of this process - is that you have to remember to come back later and clean up all of those little and not-so-little "temporary" files. So, wouldn't you just like to be able to tap in an edit session at any arbitrary point in the pipeline, do your magic on the data, then have it automagically continue on its merry way? The vip program provides this functionality, and operates syntactically just like any other filter.
Diffstat (limited to 'doc')
-rw-r--r--doc/CHANGES3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/CHANGES b/doc/CHANGES
index 5852d1edb33..21980a3d2ef 100644
--- a/doc/CHANGES
+++ b/doc/CHANGES
@@ -1,4 +1,4 @@
-$NetBSD: CHANGES,v 1.6551 2004/07/14 10:34:56 grant Exp $
+$NetBSD: CHANGES,v 1.6552 2004/07/14 11:43:31 agc Exp $
Changes to the packages collection and infrastructure in 2004:
@@ -3386,3 +3386,4 @@ Changes to the packages collection and infrastructure in 2004:
Updated php4 to 4.3.8 [jdolecek 2004-07-14]
Updated apache2 to 2.0.50 [adrianp 2004-07-14]
Updated ncmpc to 0.11.0 [grant 2004-07-14]
+ Added vip-19971113 [agc 2004-07-14]