2 lines
95 B
Bash
2 lines
95 B
Bash
|
|
N=~/notes.txt;[[ $# -gt 0 ]] && { date ; echo " $*"; exit 0; } >> $N || [[ -r $N ]] && cat $N
|