Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- if [ "$seconds" -eq 0 ]; then
- timezone_string="Z"
- elif [ "$seconds" -gt 0 ]; then
- timezone_string=$(printf "%02d:%02d" $((seconds/3600)) $(((seconds / 60) % 60)))
- else
- echo "Unknown parameter"
- fi
- if [ "foo" = "foo" ]; then
- echo expression evaluated as true
- fi
- #!/bin/bash
- if [ "foo" = "foo" ]; then
- echo expression evaluated as true
- else
- echo expression evaluated as false
- fi
Add Comment
Please, Sign In to add comment