I am writing a shell script that takes in a time (in minutes) and opens an online egg timer set for that amount.
#!/bin/bash #Opens http://e.ggtimer.com/TIMEmin where TIME = number of minutes TIME=5 xdg-open http://e.ggtimer.com/"$TIME"min
When I run the above script it opens the web page http://e.ggtimer.com/5min I would like to set the time from the terminal. For example:
Would open http://e.ggtimer.com/10min