But for plain vanilla HTTP, if you can't really install LWP (note that you can download and install the module together with the script and not install it systemwide), a simple sequence of commands will do it:
Code:
use IO::Socket::INET;
$http = IO::Socket::INET->new(
PeerAddr => "www.unix.com:80",
Proto => "tcp"
);
$http->print("GET /showthread.php?t=37182 HTTP/1.0\nHost: www.unix.com\n\n");
print $http->getlines();
which will display the HTML for this page. IO::Socket::INET is shipped standard with Perl, so you cannot say it is an "external dependency".
Hi all, I have a php file that grabs xml, parses it and updates my db accordingly. I want to automate the execution of this process, rather than having to hit the url manually.
I have been looking into using cron to execute a script to do this, however i'm not exactly sure what command i would... (1 Reply)
Hi,
My objective is to make a shell script that, when run, you can input multiple links at once.
text is then inserted between the http:// part and the following url.
example : http://google.be ==> http://sometext.google.be
it would be great if it could then open all the created links (wich... (5 Replies)
Hi,
I basically have 2 shell scripts.
One is a shell script will get the variable value from the user. The variable is nothing but the IP of the remote system.
Another shell script is a script that does the job of connecting to the remote system using ssh. This uses a expect utility in turn.
... (2 Replies)
I have a php page which i run in a browser, it has a the refresh meta tag which refreshes the page after every 15 mins. Now i am running this on a browser. It will refresh and do something and update the database every 15 mins.
So now is there any way i can simulate this using a simple shell... (2 Replies)
Hi guys,
I have a serious issue with running cron command. My host not supported format below mentioned, just the URL.) http://www.mysite/example.php ( I’m affraid a bit, the host do not going to support the sh as well…anyway)
Somehow I need to „wrap” this command, to able to call cron:
... (1 Reply)
Hi,
Can anybody help to solve this. I want to parse some xmldata along with the URL in the Shell.
I'm calling the URL via the curl command
Given below is my shell script file
export... (7 Replies)
Discussion started by: Megala
7 Replies
LEARN ABOUT DEBIAN
plucker-prc-install
plucker-prc-install(1) General Commands Manual plucker-prc-install(1)NAME
plucker-prc-install - fetch and install Plucker viewer application on a Palm pilot
SYNOPSIS
plucker-prc-install [options]
DESCRIPTION
This manual page documents briefly the plucker-prc-install command. This manual page was written for the Debian distribution because this
program was created for the Debian package.
plucker-prc-install is a program that fetches and installs the Plucker viewer application.
The program uses wget to get the .tar.bz2 archive from the Web. You need to be connected to the Internet and have wget working correctly in
order to use this program. You may have to configure the environment variable http_proxy. You can take a look at the lynx command manpage
to get information about http_proxy.
The program tries to use the correct language version of the viewer according to the environment variable LANG.
The program then uses either gpilot-install-file or pilot-xfer to transfer the three .prc files to the Palm pilot.
With pilot-link 0.12.x it is mandatory to provide a port to use. plucker-prc-install first use the value of the PILOTPORT environment
variable. If PILOTPORT is not defined it uses /dev/pilot. If the file /dev/pilot does not exist it uses usb:.
OPTIONS
This program follows the usual GNU command line syntax, with long options starting with two dashes (`-'). A summary of options is included
below.
--nohires
installs the low-resolution version of the Plucker viewer. If you are using a Palm with a 160x160 screen (Palm m500-series and ear-
lier) you can save approximately 90 KB by installing the low-resolution version of the viewer. Note that the hires version will
still work on older Palms, but will just take up unnecessary space.
-h, --help
Show summary of options.
-v, --version
Show version of program.
SEE ALSO pilot-xfer(1), wget(1), gpilot-install-file(1), lynx(1).
AUTHOR
This manual page was written by Ludovic Rousseau <rousseau@debian.org>, for the Debian GNU/Linux system (but may be used by others).
August 22, 2005 plucker-prc-install(1)