From owner-freebsd-questions@FreeBSD.ORG Sun Oct 11 03:48:45 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 7E6CA1065670 for ; Sun, 11 Oct 2009 03:48:45 +0000 (UTC) (envelope-from vogelke@hcst.com) Received: from beta.hcst.com (beta.hcst.com [192.52.183.241]) by mx1.freebsd.org (Postfix) with ESMTP id 23FCD8FC1E for ; Sun, 11 Oct 2009 03:48:44 +0000 (UTC) Received: from beta.hcst.com (localhost [127.0.0.1]) by beta.hcst.com (8.13.8/8.13.8/Debian-3) with ESMTP id n9B3mhVS019593 for ; Sat, 10 Oct 2009 23:48:43 -0400 Received: (from vogelke@localhost) by beta.hcst.com (8.13.8/8.13.8/Submit) id n9B3mhP0019592; Sat, 10 Oct 2009 23:48:43 -0400 Received: by kev.msw.wpafb.af.mil (Postfix, from userid 32768) id 778E7BE63; Sat, 10 Oct 2009 22:49:26 -0400 (EDT) To: freebsd-questions@freebsd.org In-reply-to: <319011.88077.qm@web51006.mail.re2.yahoo.com> (message from Richard Mahlerwein on Sat, 10 Oct 2009 07:41:19 -0700 (PDT)) Organization: Oasis Systems Inc. X-Disclaimer: I don't speak for the USAF or Oasis. X-GPG-ID: 1024D/711752A0 2006-06-27 Karl Vogel X-GPG-Fingerprint: 56EB 6DBF 4224 C953 F417 CC99 4C7C 7D46 7117 52A0 Message-Id: <20091011024926.778E7BE63@kev.msw.wpafb.af.mil> Date: Sat, 10 Oct 2009 22:49:26 -0400 (EDT) From: vogelke+unix@pobox.com (Karl Vogel) Subject: Re: conky calendar X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: vogelke+unix@pobox.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Oct 2009 03:48:45 -0000 You can use the terminal standout codes to highlight today's date, but you need either the Linux compatibility stuff or a recent version of ncurses installed: #!/bin/ksh PATH=/usr/compat/linux/usr/bin:/usr/local/bin:/bin:/usr/bin export PATH DAY=$(date +%d | sed 's/0\([123456789]\)/ \1/') SMSO=$(tput smso) RMSO=$(tput rmso) cal | sed -e 's/^/ /' -e "3,\$s/ ${DAY}/ ${SMSO}${DAY}${RMSO}/" exit 0 -- Karl Vogel I don't speak for the USAF or my company Letterman's top signs your cat is trying to kill you #9: To tune of Meow Mix song sings, "Kill kill kill kill, kill kill kill kill"