rc-list - mailing list for the rc(1) shell
 help / color / mirror / Atom feed
* Re:  I just thought of a cool hack
@ 1996-02-07 19:27 Arnold D. Robbins
  0 siblings, 0 replies; 2+ messages in thread
From: Arnold D. Robbins @ 1996-02-07 19:27 UTC (permalink / raw)
  To: byron, rc

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


^ permalink raw reply	[flat|nested] 2+ messages in thread
* I just thought of a cool hack
@ 1996-02-07 18:05 Byron Rakitzis
  0 siblings, 0 replies; 2+ messages in thread
From: Byron Rakitzis @ 1996-02-07 18:05 UTC (permalink / raw)
  To: rc

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.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1996-02-07 19:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-02-07 19:27 I just thought of a cool hack Arnold D. Robbins
  -- strict thread matches above, loose matches on Subject: below --
1996-02-07 18:05 Byron Rakitzis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).