From mboxrd@z Thu Jan 1 00:00:00 1970 To: 9fans@cse.psu.edu Subject: Re: [9fans] History From: rog@vitanuova.com MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="upas-qkrzwtuuepksetawppxztckihh" Message-Id: <20001109151413.6EC1219A08@mail.cse.psu.edu> Date: Thu, 9 Nov 2000 16:15:49 +0000 Topicbox-Message-UUID: 25c937da-eac9-11e9-9e20-41e7f4b1d025 This is a multi-part message in MIME format. --upas-qkrzwtuuepksetawppxztckihh Content-Disposition: inline Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit 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. --upas-qkrzwtuuepksetawppxztckihh Content-Type: message/rfc822 Content-Disposition: inline Return-Path: <9fans-admin@cse.psu.edu> Received: from punt-2.mail.demon.net by mailstore for rog@vitanuova.com id 973779871:20:11821:2; Thu, 09 Nov 2000 14:24:31 GMT Received: from psuvax1.cse.psu.edu ([130.203.4.6]) by punt-2.mail.demon.net id aa2115967; 9 Nov 2000 14:24 GMT Received: from psuvax1.cse.psu.edu (unknown [130.203.42.6]) by mail.cse.psu.edu (CSE Mail Server) with ESMTP id 872B4199FD; Thu, 9 Nov 2000 09:24:07 -0500 (EST) Received: from plan9.cs.bell-labs.com (plan9.bell-labs.com [204.178.31.2]) by mail.cse.psu.edu (CSE Mail Server) with SMTP id 3091D199F1 for <9fans@cse.psu.edu>; Thu, 9 Nov 2000 09:23:26 -0500 (EST) To: cse.psu.edu!9fans MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Message-Id: <20001109142326.3091D199F1@mail.cse.psu.edu> Subject: [9fans] History Sender: cse.psu.edu!9fans-admin Errors-To: 9fans-admin@cse.psu.edu X-BeenThere: 9fans@cse.psu.edu X-Mailman-Version: 2.0rc1 Precedence: bulk Reply-To: cse.psu.edu!9fans List-Id: Fans of the O/S Plan 9 from Bell Labs <9fans.cse.psu.edu> List-Archive: Date: Thu, 9 Nov 2000 09:01:18 -0500 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 --upas-qkrzwtuuepksetawppxztckihh--