Subversion Repositories vgwhois

Rev

Rev 5 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 5 Rev 11
Line 1... Line 1...
1
#!/bin/bash
1
#!/bin/bash
2
 
2
 
3
#
3
#
4
#  VWhois (ViaThinkSoft WHOIS, a fork of generic Whois / gwhois)
4
#  VGWhoIs (ViaThinkSoft Global WhoIs, a fork of generic Whois / gwhois)
5
#  Maintenance / Developer utilities
5
#  Maintenance / Developer utilities
6
#
6
#
7
#  (c) 2012-2019 by Daniel Marschall, ViaThinkSoft <info@daniel-marschall.de>
7
#  (c) 2012-2019 by Daniel Marschall, ViaThinkSoft <info@daniel-marschall.de>
8
#
8
#
9
#  License: https://www.gnu.org/licenses/gpl-2.0.html (GPL version 2)
9
#  License: https://www.gnu.org/licenses/gpl-2.0.html (GPL version 2)
Line 98... Line 98...
98
		PERLERR=$?
98
		PERLERR=$?
99
 
99
 
100
		cat "$errfile" | head -n 1 | grep -E "^("$'\xEF\xBB\xBF'"){0,1}Process query: '$query'" > /dev/null
100
		cat "$errfile" | head -n 1 | grep -E "^("$'\xEF\xBB\xBF'"){0,1}Process query: '$query'" > /dev/null
101
		STARTEXP=$?
101
		STARTEXP=$?
102
 
102
 
103
		cat "$errfile" | grep "gwhois remarks: If this is a valid domainname or handle, please file a bug report." > /dev/null
103
		cat "$errfile" | grep "vgwhois remarks: If this is a valid domainname or handle, please file a bug report." > /dev/null
104
		NOPATTERNMATCH=$?
104
		NOPATTERNMATCH=$?
105
 
105
 
106
		if [ $PERLERR -eq 0 ]; then
106
		if [ $PERLERR -eq 0 ]; then
107
			status="Perl-Error!"
107
			status="Perl-Error!"
108
		elif [ $STARTEXP -ne 0 ]; then
108
		elif [ $STARTEXP -ne 0 ]; then