From bb499994b55f8ba41912c000e9463f08e2a329c8 Mon Sep 17 00:00:00 2001 From: Maxim Lihachev Date: Tue, 15 Apr 2014 20:18:28 +0600 Subject: [PATCH] =?UTF-8?q?mem:=20=D0=B4=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=D0=B8=D0=B5=20=D0=B2=20=D0=B7=D0=B0=D0=BC=D0=B5?= =?UTF-8?q?=D1=82=D0=BA=D0=B8=20=D0=B2=D1=81=D0=B5=D1=85=20=D0=BF=D0=B5?= =?UTF-8?q?=D1=80=D0=B5=D0=B4=D0=B0=D0=BD=D0=BD=D1=8B=D1=85=20=D1=81=D0=BB?= =?UTF-8?q?=D0=BE=D0=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mem | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mem b/mem index 8ffa42b..1298ba7 100755 --- a/mem +++ b/mem @@ -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