[Assorted-commits] SF.net SVN: assorted: [880] shell-tools/trunk/src/bash-commons/bashrc.bash
Brought to you by:
yangzhang
From: <yan...@us...> - 2008-07-07 21:37:57
|
Revision: 880 http://assorted.svn.sourceforge.net/assorted/?rev=880&view=rev Author: yangzhang Date: 2008-07-07 14:38:04 -0700 (Mon, 07 Jul 2008) Log Message: ----------- added last-chats Modified Paths: -------------- shell-tools/trunk/src/bash-commons/bashrc.bash Modified: shell-tools/trunk/src/bash-commons/bashrc.bash =================================================================== --- shell-tools/trunk/src/bash-commons/bashrc.bash 2008-07-07 21:37:58 UTC (rev 879) +++ shell-tools/trunk/src/bash-commons/bashrc.bash 2008-07-07 21:38:04 UTC (rev 880) @@ -584,6 +584,13 @@ return $status } +# purple chat logs from today +last-chats() { + find /home/yang/.purple/logs/ -mtime -1 | + fgrep -v .system | + fgrep "$( date +%Y-%m-%d )" +} + #function set_title() { # if [ $# -eq 0 ] ; then # eval set -- "$PWD" This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |