Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Aug 12th, 2012  |  syntax: None  |  size: 0.20 KB  |  hits: 15  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. Shell Script run with TaskSet
  2. taskset -c 1 ./forLoop
  3.        
  4. ./forLoop: 1: Syntax error: Bad for loop variable
  5.        
  6. for ((  i = 0 ;  i <= 1000000;  i++  ))
  7. do
  8.   echo "Welcome $i times"
  9. done
  10.        
  11. dash ./forLoop