Help for this page

Select Code to Download


  1. or download this
    E.g. x='Disk - HD 500GB 2.5 SATA (00X3Y)'
    
  2. or download this
    echo $x | sed "s/^[^0-9]*\([0-9]*[.]*[0-9]*\)[^0-9A-Z]*GB.*/\1/g"
    
  3. or download this
    echo $x | sed "s/^[^0-9]*\([0-9]*[.]*[0-9]*\)[^0-9A-Z]*GB.*/\1/g"