多谢指正。 On Sun, Oct 2, 2011 at 9:17 AM, Tusooa Zhu <tus...@gmail.com> wrote:
> > MEMORY=$(shell free | grep "Mem:" |awk '{print $2}') > 这一行有点问题。$是make的特殊字符。$2给当作变量,传进去了。 > 改成MEMORY=$(shell free | grep "Mem:" |awk '{print $$2}') > -- > Regards, > Tusooa > _____________________________________ > < There's more than one way to do it. > > ------------------------------------- > \ ^__^ > \ (oo)\_______ > (__)\ )\/\ > ||----w | > || || > -- > ubuntu-zh mailing list > ubuntu-zh@lists.ubuntu.com > https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh > -------------- 下一部分 -------------- 一个HTML附件被移除... URL: <https://lists.ubuntu.com/archives/ubuntu-zh/attachments/20111002/04449a18/attachment.html> -- ubuntu-zh mailing list ubuntu-zh@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh