The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




Thread: sed command
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 06-05-2008
ROOZ ROOZ is offline
Registered User
  
 

Join Date: Mar 2008
Posts: 48
sed command

Hi everyone,
I am trying to extract two numbers from a string using sed command,
does anyone have any idea how to do this
for instance: the string is sadaskjer4x5sdfrsdf
and i would like to search for 4x5 and and extract 4 and 5 and save them into two variables.