bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problem: extracting substring


From: maybee
Subject: Problem: extracting substring
Date: Tue, 30 Sep 2008 13:21:24 -0700 (PDT)

I have a string  mq001234ms00567_b3.45_323x7,
and I want to subtract the numbers from it, that is,
I will get 
mq=001234
ms=00567
b=3.45

These number may have various digits.
Any neat way doing this under bash?

Thanks for looking.
-- 
View this message in context: 
http://www.nabble.com/Problem%3A-extracting-substring-tp19749658p19749658.html
Sent from the Gnu - Bash mailing list archive at Nabble.com.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]