unset. To set a particular proxy server for HTTP download, use one of
these methods:
-- set http_proxy globally: EXPORT http_proxy=http://localhost:3128/
+- set http_proxy globally: export http_proxy=http://localhost:3128/
- or on the command line: $ http_proxy=http://localhost:3128/ metarproxy
- unset http_proxy: $ http_proxy= metarproxy
- use the command line option: $ metarproxy --proxy=http://localhost:3128/
-- set the option globally: EXPORT METARPROXY="-yhttp://localhost:3128"
+- set the option globally: export METARPROXY="-yhttp://localhost:3128"
$Id$
-Melchior FRANZ <mfranz@aon.at>, 2005/1/24
+Melchior FRANZ <mfranz # aon : at>, 2005/1/24
#!/usr/bin/perl -w
# FlightGear METAR proxy server
-# Melchior FRANZ (c) 2005, <mfranz@aon.at>, GPL V2
+# Melchior FRANZ (c) 2005, <mfranz # aon : at>, GPL V2
# $Id$
#
# typical use
return $ARGV[0];
}
my $mode = 4;
- unshift @ARGV, split / /, $ENV{'METARPROXY'} if defined $ENV{'METARPROXY'};
+ unshift @ARGV, split /\s+/, $ENV{'METARPROXY'} if defined $ENV{'METARPROXY'};
while (1) {
$_ = $ARGV[0];
defined $_ or last;