Hi all, how could i do ?
I have a Rss file, i want to extract only the Urls (many) matching http://www.xxx.com/trailers/ from that file and copy into another file.
like
"
<pubDate>Wed, 29 Apr 2009 00:00:00 PST</pubDate>
<content:encoded><!Apple - Movie Trailers - The Hangover"><img... (3 Replies)
hi everybody .
i'm trying to extract a bunch of urls from an http request but when i do that i get nothing .
here it's my code
use LWP::UserAgent;
$url = "$ARGV"; $ua = LWP::UserAgent->new;
$req = HTTP::Request->new(GET=>$url);
$res = $ua->request($req);
if... (0 Replies)
I propose a little game, I post a bunch of images from random movies out there and people try to identify the name of the character and the movie.
Each correct answer earns a point, at the end of the contest I'll give some Bits to those with the most points.
The rules:
I'll post only a few... (35 Replies)
I need to process a file line-by-line using some value from a shell variable
Something like:perl -p -e 's/$shell_srch/$shell_replace/g' input.txt
I can't make the '-s' work in the '-p' or '-n' input loop (or couldn't find a syntaxis.)
I have searched and found... (4 Replies)
Hi all,
Not sure if this should be in the programming forum, but I believe it will get more response under the Shell Programming and Scripting FORUM.
Am trying to write a customized df script in Perl and need some help with regards to using arrays and file handlers.
At the moment am... (3 Replies)
Hi,
I have a requirement as follows. Have 3 files. Need to match up the data in each one of them and sum up the data by a field and display it. example given below.
File 1 : Name, Emp id
File 2 : Empid, Subject,
File 3 : Subject, Score, Class
Match Emp id in File 1 and File 2 and then... (7 Replies)
Hi All,
Suppose I want to take a screenshot of a website say Google and save that image. How should I do it?
I tried wget with this but of no help. It just makes a particular file in jpeg format but on opening the same it says corrupted. Although I can edit the jpeg as an HTML file.
wget... (15 Replies)
I am working on converting shell to Perl script. In shell we have built in function
trap
Do you know alternative in Perl or actually we don't need it?
Thanks for contribution (3 Replies)
hello every one
I wrote the script to validate all the urls from my server . sourcing text file which contains the list of urls and trying to check every url and based on response printing url is up or not. the issue when i use the below code with url is printing url exist and and in loop it's... (3 Replies)
Discussion started by: markjohn1
3 Replies
LEARN ABOUT OPENSOLARIS
gnome-panel-screenshot
gnome-screenshot(1) User Commands gnome-screenshot(1)NAME
gnome-screenshot, gnome-panel-screenshot - GNOME screenshot utility
SYNOPSIS
gnome-screenshot | gnome-panel-screenshot [--border-effect=effect] [--delay=int] [--include-border] [--interactive] [--window] [gnome-std-
options]
DESCRIPTION
gnome-screenshot allows users to capture the screen image of a window or the complete screen. gnome-panel-screenshot is a symlink to
gnome-screenshot.
If the --window option is used, you must move the mouse pointer to the window to be captured. The --delay option is always used with the
--window option, to allow sufficient delay to set up the required screenshot. Once you have captured the window region, you are presented
with a dialog showing a preview of the snapshot and the choice to save the image.
OPTIONS
The following options are supported:
--border-effect=effect Effect to add to the border.
--delay=int Pause for int seconds before capturing the window or screen
--include-border Include the window border with the screenshot.
--interactive Interactively set options.
--window Capture a screenshot of the window in which the mouse pointer is located.
gnome-std-options Standard options available for use with most GNOME applications. See gnome-std-options(5) for more information.
EXAMPLES
Example 1: Capturing the full screen
example% gnome-screenshot
EXIT STATUS
The following exit values are returned:
0 Application exited successfully
>0 Application exited with failure
FILES
The following files are used by this application:
/usr/bin/gnome-screenshot Executable for GNOME screenshot utility
/usr/bin/gnome-panel-screenshot Symbolic link to gnome-screenshot.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWgnome-utils |
+-----------------------------+-----------------------------+
|Interface stability |Volatile |
+-----------------------------+-----------------------------+
SEE ALSO
Latest version of the GNOME Desktop User Guide for your platform.
gnome-panel(1), attributes(5), gnome-std-options(5)NOTES
Written by Ghee Teo, Sun Microsystems Inc., 2003, 2006, 2007.
SunOS 5.11 09 Nov 2007 gnome-screenshot(1)