From owner-freebsd-questions@FreeBSD.ORG Thu Apr 23 21:32:29 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4C6AB1065673 for ; Thu, 23 Apr 2009 21:32:29 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (gate6.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id BA97B8FC1B for ; Thu, 23 Apr 2009 21:32:27 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.3/8.14.3) with ESMTP id n3NLWDuP057134; Thu, 23 Apr 2009 22:32:14 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.8.2 smtp.infracaninophile.co.uk n3NLWDuP057134 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=infracaninophile.co.uk; s=200708; t=1240522334; bh=xk8S+F+BosNeptKCE/JAyZzp4iOPbsUTQ2908yK+sCE=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Cc:Content-Type:Date:From:In-Reply-To: Message-ID:Mime-Version:References:To; z=Message-ID:=20<49F0DE5D.8080607@infracaninophile.co.uk>|Date:=20T hu,=2023=20Apr=202009=2022:32:13=20+0100|From:=20Matthew=20Seaman= 20|Organization:=20Infracaninophi le|User-Agent:=20Thunderbird=202.0.0.21=20(X11/20090420)|MIME-Vers ion:=201.0|To:=20Martin=20McCormick=20| CC:=20freebsd-questions@freebsd.org|Subject:=20Re:=20Format=20of=2 0history=20output=20Sometimes=20is=20very=20Different.|References: =20<200904232031.n3NKVpwx023000@dc.cis.okstate.edu>|In-Reply-To:=2 0<200904232031.n3NKVpwx023000@dc.cis.okstate.edu>|X-Enigmail-Versi on:=200.95.6|Content-Type:=20multipart/signed=3B=20micalg=3Dpgp-sh a256=3B=0D=0A=20protocol=3D"application/pgp-signature"=3B=0D=0A=20 boundary=3D"------------enig9A9BA5C7D71A10E5AE22E673"; b=npre1wzB09KetCrxM/4PE09M32un6QCwS1U5kN0QbA5XBcMTzinvoWLXsdSV/Gx1S zhkc4oX5En6+XI+maoMg7p2/N6l6gTQBQIZbuTbwMIGiQC5JJLW2cpuF8I38ohc7Qk axLdFk7sgdyrMMKZwyp+QhD6KRpTSscMkqOqpNBY= X-Authentication-Warning: happy-idiot-talk.infracaninophile.co.uk: Host localhost [IPv6:::1] claimed to be happy-idiot-talk.infracaninophile.co.uk Message-ID: <49F0DE5D.8080607@infracaninophile.co.uk> Date: Thu, 23 Apr 2009 22:32:13 +0100 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 2.0.0.21 (X11/20090420) MIME-Version: 1.0 To: Martin McCormick References: <200904232031.n3NKVpwx023000@dc.cis.okstate.edu> In-Reply-To: <200904232031.n3NKVpwx023000@dc.cis.okstate.edu> X-Enigmail-Version: 0.95.6 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig9A9BA5C7D71A10E5AE22E673" X-Virus-Scanned: clamav-milter 0.95.1 at happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-3.0 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VERIFIED,NO_RELAYS autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on happy-idiot-talk.infracaninophile.co.uk Cc: freebsd-questions@freebsd.org Subject: Re: Format of history output Sometimes is very Different. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Apr 2009 21:32:29 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig9A9BA5C7D71A10E5AE22E673 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Martin McCormick wrote: > the normal output of the history command resembles: >=20 > 1 env > 2 ssh system1.somedomain.com > 3 scan cur >=20 > etc. >=20 > On occasion, I have seen a history output that shows the > list of commands plus the time they were executed. I am not sure > exactly how I got that output as I couldn't duplicate it on > demand. Any ideas on what I did to get that alternative output? > tcsh(1) includes timestamps in it's .history. bash(1) doesn't. Not sure about other shells, but the historical (ahem!) behaviour of csh(1) was not to use timestamps, and I think most shells=20 subsequently developed have carried on the same history format, with tcsh(1) being the exception. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW --------------enig9A9BA5C7D71A10E5AE22E673 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREIAAYFAknw3l0ACgkQ8Mjk52CukIyFgwCfeafh5dMh282hvOWgKNDi1IIO UKYAn3F4a9etl3/rEQaYT0V45L7+CK+f =7Xrf -----END PGP SIGNATURE----- --------------enig9A9BA5C7D71A10E5AE22E673--