I'm writing a shell script. A variable will have a url that will look at the the beginning few characters and
- make sure there is something before the //...so a http, https,rtmp,rtmps,rtmpe,etc....
- if nothing is in front of the // then tell user there is nothing...else if that value = whatever do whatever
How would I be able to do this?