SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2011-01-10 03:20:35

ackernan
#! Junkie
Registered: 2011-01-10
Posts: 403

conky script

When I run the script in conky I get an error "Syntax error: Unterminated quoted string".  I narrowed it down to this line

echo "     \`Monthly Down:\${goto 110}\${color2}\${exec vnstat -m -i eth1 | grep "$Month" | awk '{print \$3 \$4}'}\${color}\${goto 200}\`Monthly Up:\${goto 310}\${color2}\${exec vnstat -m -i eth1 | grep "$Month" | awk '{print \$6 \$7}'}\${color}"

.  I comment it out to not get the error.  How can I fix this line?

Thanks,
Tony

Offline

Be excellent to each other!

#2 2011-01-11 01:47:05

ackernan
#! Junkie
Registered: 2011-01-10
Posts: 403

Re: conky script

Can anybody help?

Offline

#3 2011-01-11 01:54:25

anonymous
The Mystery Member
Registered: 2008-11-29
Posts: 9,419

Re: conky script

Where do you get that code from? And what is supposed to do?

Offline

#4 2011-01-11 02:07:39

albannach1
Member
Registered: 2010-12-26
Posts: 15

Re: conky script

If that is a straight cut & paste... try switching the ` in front of the Monthly Ups into real '

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.
Server: acrobat

Debian Logo