From owner-freebsd-questions@FreeBSD.ORG Thu Sep 9 17:10:42 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B0A6810656F2 for ; Thu, 9 Sep 2010 17:10:42 +0000 (UTC) (envelope-from perrin@apotheon.com) Received: from cpoproxy2-pub.bluehost.com (cpoproxy2-pub.bluehost.com [67.222.39.38]) by mx1.freebsd.org (Postfix) with SMTP id 6BF838FC1C for ; Thu, 9 Sep 2010 17:10:42 +0000 (UTC) Received: (qmail 5943 invoked by uid 0); 9 Sep 2010 16:44:02 -0000 Received: from unknown (HELO box543.bluehost.com) (74.220.219.143) by cpoproxy2.bluehost.com with SMTP; 9 Sep 2010 16:44:02 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=apotheon.com; h=Date:From:To:Subject:Message-ID:Mail-Followup-To:References:Mime-Version:Content-Type:Content-Disposition:In-Reply-To:User-Agent:X-Identified-User; b=VJPT7OGHuDkjXHwEDE3pI+9gV3fgnsuNUkVLtW5js4ooffyFJnc6OImIbglqXL8vHqhR4yy5S4cq9uBUEDG3sXa9baSr8X6cUpU4qEipZFmDq/uhJ3qr4hLPpqQowm/p; Received: from c-24-8-180-234.hsd1.co.comcast.net ([24.8.180.234] helo=kukaburra.hydra) by box543.bluehost.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1OtkEC-000471-IO for questions@freebsd.org; Thu, 09 Sep 2010 10:44:01 -0600 Received: by kukaburra.hydra (sSMTP sendmail emulation); Thu, 09 Sep 2010 10:40:38 -0600 Date: Thu, 9 Sep 2010 10:40:38 -0600 From: Chad Perrin To: "questions@freebsd.org" Message-ID: <20100909164038.GA57863@guilt.hydra> Mail-Followup-To: "questions@freebsd.org" References: <20100909112421.GA31640@ozzmosis.com> <20100909142907.GA83383@gizmo.acns.msu.edu> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="HlL+5n6rz5pIUxbD" Content-Disposition: inline In-Reply-To: <20100909142907.GA83383@gizmo.acns.msu.edu> User-Agent: Mutt/1.4.2.3i X-Identified-User: {2737:box543.bluehost.com:apotheon:apotheon.org} {sentby:smtp auth 24.8.180.234 authed with ren@apotheon.org} Cc: Subject: Re: how to tell "ls" output date in digital 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, 09 Sep 2010 17:10:42 -0000 --HlL+5n6rz5pIUxbD Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Sep 09, 2010 at 10:29:08AM -0400, Jerry McAllister wrote: > On Thu, Sep 09, 2010 at 01:11:39PM +0000, Pala, Santosh wrote: >=20 > > Hi Andrew, > >=20 > > The ls command with -E switch will give the required output.=20 >=20 > Doesn't for me. > Says -E is an illegal option. It works with AT&T's version of ls, apparently. I'm pretty sure it doesn't work with either BSD ls or GNU ls, though, so I'm not sure how it ended up being mentioned in this discussion. >=20 > Running FreeBSd 8.1 stock ls. >=20 > On the other hand, ls -lD "%F %T %Z" does nicely. =2E . . and you can easily alias that to lsd for easier use (and a chuckle). Note that this doesn't work with GNU ls, because Stallman and MacKenzie in their infinite wisdom decided GNU ls needed -D to produce output tailored to some Emacs functionality. --=20 Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] --HlL+5n6rz5pIUxbD Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAkyJDgYACgkQ9mn/Pj01uKWDLwCg6/4PVkQjKrhQVS+C2luGD7CL He4AoJofwA8uwTpgcZec+9s9WUzmWjFY =UcER -----END PGP SIGNATURE----- --HlL+5n6rz5pIUxbD--