#!/bin/sh temp=$(acpi -t | sed 's/.*, //;s/ degrees //;s/C//' | cut -d'.' -f1) echo "$temp"°C