Path: utzoo!utgpu!watmath!att!tut.cis.ohio-state.edu!ucbvax!agate!usenet
From: mwm@mica.berkeley.edu (Mike (I'll think of something yet) Meyer)
Newsgroups: comp.sys.amiga.tech
Subject: more 1.4 command wishlist
Message-ID: <1989Aug8.214011.3351@agate.berkeley.edu>
Date: 8 Aug 89 21:40:11 GMT
Reply-To: mwm@mica.berkeley.edu (Mike (I'll think of something yet) Meyer)
Organization: Missionaria Phonibalonica
Lines: 33


This is the dual of the request for commands that are more amenable to
being started from other commands: Commands whose output is more
amenable to being used by other commands.

Simple example: It'd be nice if stack's output was "stack "
instead of "Current stack size is " - or that you could make it
do that. Why? How about a script like:

stack >ram:resetstack
stack 50000
; run some thing that needs 50K of stack
execute ram:resetstack

Another example: Make search create ouput with file names & lines on
one line, instead of filename, multiple lines. Reason: so I can use it
to build a "define database", like so:

search >defines #?.h define

Finding a define - both value and file - is easy: you do "search
defines SYMBOL"

Once again, it'd be nice if the output from all commands was examined,
and changed (or flags added to make it change) to something more
suitable for feeding to other commands (including execute).