What is wrong with this drush command in Drupal 7 Ubercart 3 to delete orders in bulk via command line?
You've to use double quotes instead of single quotes, so variables retain their special meaning.

Read more:

https://stackoverflow.com/questions/6697753/difference-between-single-and-double-quotes-in-bash