fork download
  1. #!/bin/bash
  2. # your code goes here
  3. date1=2015.05.01
  4. date2=2015.05.02
  5. date3=2015.05.03
  6.  
  7. if [ ! "$date1" ">" "$date2" ]; then
  8. echo "date1 <= date2"
  9. fi
  10.  
  11. if [ ! "$date2" ">" "$date2" ]; then
  12. echo "date2 <= date2"
  13. fi
  14.  
  15. if [ ! "$date3" ">" "$date2" ]; then
  16. echo "date3 <= date2"
  17. fi
  18.  
Success #stdin #stdout 0.02s 5268KB
stdin
Standard input is empty
stdout
date1 <= date2
date2 <= date2