title: Extracting numbers with sed without using repetition modifiers ( +, ?, {m} )
body: <p>I have something like this:</p>
  
  <pre><code>plym    fury    77      73      2500
  chevy   nova    79      60      3000
  ford    mustang 65      45      10000
  volvo   gl      78      102     9850
  ford    ltd     83      15      10500
  chevy   nova    80      50      3500
  fiat    600     65      115     450
  honda   accord  81      30      6000
  ford    thundbd 84      10      17000
  toyota  tercel  82      180     750
  chevy   impala  65      85      1550
  ford    bronco  83      25      9500
  </code></pre>
  
  <p>and I need to create a list that show all the cars that cost less than $10,000, except Chevys.  The list should be sorted from lowest cost to highest .</p>
  
  <p>I must use <code>sed</code> with quit option and regular expression (DO NOT use repetition)</p>
  
  <p>so far I have this</p>
  
  <pre><code>grep -iv "chevy" cars | sort -nk 5 | sed '/regex$/ q'
  </code></pre>
  
  <p>I'm having a problem with the regex WITHOUT repetition.</p>