summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
328f2f4)
Script to show files modified today. (t)oday l(s): ts.
--- /dev/null
+#!/bin/bash
+
+options="-l"
+if echo "$LS_OPTIONS" | /bin/grep -- "--time-style=long-iso" &>/dev/null; then
+ today=$(/bin/date +'%Y-%m-%d')
+ options="$options --time-style=long-iso"
+else
+ today=$(/bin/date +'%b %e')
+fi
+/bin/ls $options ${1+"$@"} | /bin/grep "$today [012][0-9]:[0-9][0-9]"