5 Rollback to Revision 3
| link

{SOLVED} how do I make a $VAR empty so it don't effect the command line argument and still be within that argument?

4 edited title
| link

{SOLVED} how do I make a $VAR empty so it don't effect the command line argument and still be within that argument?

3 added 395 characters in body
source | link

NOTE: I am using just about every argument that hsetroot has in a RANDOM fashion therefore the using the case statement like this is not an option:

 RANGE=3
 val=$RANDOM
 let  "val %= $RANGE"

   cast $val in
  1 )
   hsetroot -flipd -center /path/to/image
   ;;
  2 )
   hsetroot -flipv -center /path/to/image
    ;;
  .......

NOTE: I am using just about every argument that hsetroot has in a RANDOM fashion therefore the using the case statement like this is not an option:

 RANGE=3
 val=$RANDOM
 let  "val %= $RANGE"

   cast $val in
  1 )
   hsetroot -flipd -center /path/to/image
   ;;
  2 )
   hsetroot -flipv -center /path/to/image
    ;;
  .......
2 explaned it two ways just incase
source | link
1
source | link