cat and pipe diet

This commit is contained in:
Manuel Hutter 2014-06-18 10:19:21 +02:00
commit e727824964
3 changed files with 3 additions and 3 deletions

View file

@ -31,7 +31,7 @@ case "$os" in
*)
if [ -r /proc/meminfo ]; then
echo "$(cat /proc/meminfo | grep "MemTotal:" | awk '{print $2}')"
echo "$(grep "MemTotal:" /proc/meminfo | awk '{print $2}')"
fi
;;
esac