Update cl.sh
This commit is contained in:
parent
c453b82bc3
commit
f660de6438
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ info
|
||||||
|
|
||||||
if [ -f $DEFAULT_PATH/$notename ]; then
|
if [ -f $DEFAULT_PATH/$notename ]; then
|
||||||
|
|
||||||
out="$(grep $regex $DEFAULT_PATH/$notename | wc -l)"
|
out="$(grep -c $regex $DEFAULT_PATH/$notename)"
|
||||||
|
|
||||||
if [ $out -eq 1 ]; then
|
if [ $out -eq 1 ]; then
|
||||||
echo "Compressed $out line of grep output."
|
echo "Compressed $out line of grep output."
|
||||||
|
|
Loading…
Reference in a new issue