daily pastebin goal
66%
SHARE
TWEET

Untitled

a guest Feb 16th, 2019 72 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/bin/bash
  2.  
  3. if [ "$seconds" -eq 0 ]; then
  4.    timezone_string="Z"
  5. elif [ "$seconds" -gt 0 ]; then
  6.    timezone_string=$(printf "%02d:%02d" $((seconds/3600)) $(((seconds / 60) % 60)))
  7. else
  8.    echo "Unknown parameter"
  9. fi
  10.  
  11. if [ "foo" = "foo" ]; then
  12.     echo expression evaluated as true
  13. fi
  14.  
  15. #!/bin/bash
  16. if [ "foo" = "foo" ]; then
  17.     echo expression evaluated as true
  18. else
  19.     echo expression evaluated as false
  20. fi
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top