Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Extracting Informations from strings
- X-seq: zsh-users 7574
- From: Stefan Reichör <xsteve@xxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Extracting Informations from strings
- Date: Mon, 21 Jun 2004 09:02:44 +0200
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
Hi!
I want to parse the output from acpi:
Battery 1: charging, 95%, charging at zero rate - will never fully charge.
I want to extract the "95%" from the output above.
How can I achieve this from within zsh?
Stefan.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author