9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: rog@vitanuova.com
To: 9fans@cse.psu.edu
Subject: Re: [9fans] History
Date: Thu,  9 Nov 2000 16:15:49 +0000	[thread overview]
Message-ID: <20001109151413.6EC1219A08@mail.cse.psu.edu> (raw)

[-- Attachment #1: Type: text/plain, Size: 636 bytes --]

some long commands don't deserve to be put into a function.  i'm
thinking of the usual only-useful-this-time one-shots like

for (i in `{tail -4000 odd | tr ' ' '\012' | sort | uniq -c | sort -rn | sed 's/ *[0-9]+ //'}) {
	if (test -f $home/dict/$i) {echo strange}
}

although it's probably never going to be used again, sometimes one
remembers "oh yes, i did something like that a while back" and it's
nice if it hasn't gone forever.

acme win is better than rio, where a reasonable amount of debug output
causes all previously typed commands in that window to be lost.

i'm sure there must be a better way.

  rog.


[-- Attachment #2: Type: message/rfc822, Size: 1540 bytes --]

To: cse.psu.edu!9fans
Subject: [9fans] History
Date: Thu, 9 Nov 2000 09:01:18 -0500
Message-ID: <20001109142326.3091D199F1@mail.cse.psu.edu>

You wouldn't feel the need for history so much if you
didn't type such long commands.  Try mk or make or
defining a function.  It's much less work to type
	mk
than
	gcc -Isomenonstandardplace -Dverylongoption -Wpleasedontcomplainaboutmyprogramiknowhatimdoing ilikethingstobeclearsoigivemyfileslongnames.c

-rob

             reply	other threads:[~2000-11-09 16:15 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-11-09 16:15 rog [this message]
2000-11-09 15:26 ` Boyd Roberts
  -- strict thread matches above, loose matches on Subject: below --
2006-07-07 15:21 [9fans] history Fco. J. Ballesteros
2006-07-07 16:16 ` Skip Tavakkolian
2002-01-22 20:43 rob pike
2000-11-14 21:39 [9fans] History presotto
2000-11-14 21:46 ` Boyd Roberts
2000-11-14 20:45 Richard Miller
2000-11-14 19:12 anothy
2000-11-14 19:37 ` Boyd Roberts
2000-11-14 17:21 rog
2000-11-14 14:28 rob pike
2000-11-14 15:12 ` Boyd Roberts
2000-11-09 18:34 rob pike
2000-11-09 16:39 forsyth
2000-11-10  9:35 ` Douglas A. Gwyn
2000-11-14  9:33   ` George Michaelson
2000-11-14  9:51     ` Boyd Roberts
2000-11-14 15:50       ` Douglas A. Gwyn
2000-11-14 16:13         ` Boyd Roberts
2000-11-09 14:01 rob pike
2000-11-09 14:50 ` Boyd Roberts
2000-11-09 15:20   ` Axel Belinfante

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20001109151413.6EC1219A08@mail.cse.psu.edu \
    --to=rog@vitanuova.com \
    --cc=9fans@cse.psu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).