View Single Post
Impact123
Veteran Member
Join Date: Oct 2011
Location: Germany
Old 09-11-2015 , 22:51   Re: Changes - Part 2: Rolling Release Cycle
#18

@Akuba
You don't need regex for this. If you have access to a shell you can use something like this
Code:
link="$(wget -qO- "http://www.sourcemod.net/downloads-new.php?branch=dev" | grep linux | cut -d "'" -f 2 | sed -n 2p)"
You can see it being used by calladmin here. It's not perfect but it works for now.
__________________

Last edited by Impact123; 09-12-2015 at 00:48.
Impact123 is offline