From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from emory.mathcs.emory.edu ([128.140.2.1]) by hawkwind.utcs.utoronto.ca with SMTP id <23987>; Wed, 7 Feb 1996 14:44:38 -0500 Received: from skeeve.UUCP by emory.mathcs.emory.edu (5.65/Emory_mathcs.4.0.17) via UUCP id AA20488 ; Wed, 7 Feb 96 14:44:21 -0500 Return-Path: arnold@skeeve.atl.ga.us Received: by skeeve.atl.ga.us (/\==/\ Smail3.1.22.1 #22.1) id ; Wed, 7 Feb 96 14:27 EST Message-Id: Date: Wed, 7 Feb 1996 14:27:00 -0500 From: arnold@skeeve.atl.ga.us (Arnold D. Robbins) To: byron@netapp.com, rc@hawkwind.utcs.toronto.edu Subject: Re: I just thought of a cool hack Byron said: > I wanted to use the history command to edit the output of make, in particular > to change -g to -S to examine asm output. So I did: > > ; make -n quick.o >> $history > ; -- gcc > > and edited the command with the history command. > > Having history outside of the shell has been very useful to me over the > years. I usually do something like make -n foo | sed 's/-g/-S/' | sh -x Or I just do the `make | sed' and snarf and barf it back with 9term... Arnold