Skip to content

Instantly share code, notes, and snippets.

@kim366
Created July 27, 2018 18:53
Show Gist options
  • Select an option

  • Save kim366/cb88fa9fb443fdb7c4aef2a59e21cec2 to your computer and use it in GitHub Desktop.

Select an option

Save kim366/cb88fa9fb443fdb7c4aef2a59e21cec2 to your computer and use it in GitHub Desktop.
acpi | perl -ne '$_=~m/(\\d+)(?=%)/;print "$1"'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment