Willem D'Haese wrote:
Hello,
You can find the text here:
https://raw.githubusercontent.com/willemdh/FireMotD/master/FireMotD
Problem seems to start at line 211, maybe related to the '<<<'?
MemFreeB="$(cat /proc/meminfo | grep MemFree | awk {'print $2'})"
MemTotalB="$(cat /proc/meminfo | grep MemTotal | awk {'print $2'})"
MemUsedB="$(expr $MemTotalB - $MemFreeB)"
MemFree="$(printf "%0.2f\n" $(bc -q <<< scale=2\;$MemFreeB/1024/1024))"
WriteLog Verbose Info "MemFree: $MemFree"
MemUsed="$(printf "%0.2f\n" $(bc -q <<< scale=2\;$MemUsedB/1024/1024))"
WriteLog Verbose Info "MemUsed: $MemUsed"
MemTotal="$(printf "%0.2f\n" $(bc -q <<< scale=2\;$MemTotalB/1024/1024))"
WriteLog Verbose Info "MemTotal: $MemTotal"
Please try syntax/sh.vim v162 which you may get from my website:
http://www.drchip.org/astronaut/vim/index.html#SYNTAX_SH . I didn't see
any problem -- of course, that may be due to the fact that its 12:34am
here and I'm about to fall asleep.
Regards,
Chip Campbell
--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.