|
|
|
@ -17,7 +17,7 @@ case "$1" in
@@ -17,7 +17,7 @@ case "$1" in
|
|
|
|
|
-remove) sed "$2d" -i $memfile;; |
|
|
|
|
-clear) > $memfile;; |
|
|
|
|
'') cat $memfile | nl | \grep --color -E '.{1,}==>';; |
|
|
|
|
*) printf "[ `\date '+%d.%m.%Y %H:%M:%S'` ] ==> $1\n" >> $memfile && printf \ |
|
|
|
|
"$greenЗаметка$yellow $1 $greenуспешно добавлена\n$rstc" |
|
|
|
|
*) printf "[ `\date '+%d.%m.%Y %H:%M:%S'` ] ==> $*\n" >> $memfile && printf \ |
|
|
|
|
"$greenЗаметка$yellow $* $greenуспешно добавлена\n$rstc" |
|
|
|
|
esac |
|
|
|
|
|
|
|
|
|