zsh-users
 help / color / mirror / code / Atom feed
* Extracting Informations from strings
@ 2004-06-21  7:02 Stefan Reichör
  2004-06-21  7:24 ` [zsh] " Artur Penttinen
  2004-06-21  9:33 ` Peter Stephenson
  0 siblings, 2 replies; 5+ messages in thread
From: Stefan Reichör @ 2004-06-21  7:02 UTC (permalink / raw)
  To: zsh-users

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.


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2004-06-21 18:36 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-06-21  7:02 Extracting Informations from strings Stefan Reichör
2004-06-21  7:24 ` [zsh] " Artur Penttinen
2004-06-21 18:35   ` Vincent Stemen
2004-06-21  9:33 ` Peter Stephenson
2004-06-21 16:28   ` Bart Schaefer

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).