10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
If run the below code today its creating all directory and getting output files,I f run same code tomorrow I am getting error.
can any one give suggestion to sortout this error.
OSError: no such file or directory : '062518'My code looks like this
import paramiko
import sys
import os ... (8 Replies)
Discussion started by: haribabu2229
8 Replies
2. Linux
Hi,
I am running on Ubuntu 12 (precise) 64 bit and came to know that i cannot install any packages using apt-get and aptitude.
Linux test01 3.5.0-23-generic #35~precise1-Ubuntu SMP Fri Jan 25 17:13:26 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
But the same /etc/apt/sources.list file is... (20 Replies)
Discussion started by: prash358
20 Replies
3. UNIX for Dummies Questions & Answers
Hello
I'm having a problem running a TCL script in my new OpenSolaris OS. When I go to the directory containing my script called 'Install' (using the gnome terminal), it doesn't seem to be able to find it even though it lists it i.e. if I type "Inst" and hit tab to complete the word, it... (11 Replies)
Discussion started by: sbsbg
11 Replies
4. Shell Programming and Scripting
$ ls -l
total 44
drwx------ 2 ivanachu users 512 Dec 6 19:15 VILEARN
-rw------- 1 ivanachu users 74 Dec 5 18:42 cond
-rwx------ 1 ivanachu users 97 Dec 5 21:30 cond2
-rwxrwxrwx 1 ivanachu users 4979 Feb 10 22:42 createHAqmgr.ksh
-rw------- 1 ivanachu users 28 Dec 4... (10 Replies)
Discussion started by: ivanachukapawn
10 Replies
5. Shell Programming and Scripting
Hi
I have a file with lots of line feeds and form feeds (page break). Need to replace last occurrence of form feed (created by - echo "\f" ) in the file with line feed.
Please advise how can i achieve this.
TIA
Prvn (5 Replies)
Discussion started by: prvnrk
5 Replies
6. HP-UX
hi i keep getting this error message when i try and run emacs:
/usr/lib/dld.sl: Unresolved symbol: pthread_mutex_init (code) from ./emacs
Abort
any ideas? thanks ed. (4 Replies)
Discussion started by: deusprogrammer
4 Replies
7. Shell Programming and Scripting
I have written a simple bash script that will run a wget command to recursively ftp an entire directories and it's contents.
#!/bin/bash
wget -r -N ftp://user:pass@server//VOL1/dir
If I run from the regular command line it works fine.
root@BUSRV: /media/backup1$ ./gwbu
When I put it in... (1 Reply)
Discussion started by: mgmcelwee
1 Replies
8. Shell Programming and Scripting
Hi all,
It will be very useful If you spare some time with me for this worrying error.
I am calling a conversion program which is written in C++ for converting a file format to different format. It was working fine for this past 2 yrs. But now it is not working since the file size has been... (1 Reply)
Discussion started by: sathu_pec
1 Replies
9. Shell Programming and Scripting
i have this script i wrote, it chokes when running the add install client commandit keeps telling me the add_install_client command is incorrect.
When I put the print statement in front of the command so it will echo it, the command looks right on the screen. Yes im am an ametuer, im trying to... (2 Replies)
Discussion started by: BG_JrAdmin
2 Replies
10. Shell Programming and Scripting
How can I run a program ('prog') through perl (in unix) and feed her required parameters?
system ("prog \n"); ?????????
now 'prog' ask for parameters and I want the perl script to give them automaticly without humen intervention? (2 Replies)
Discussion started by: roco
2 Replies
Feed::Find(3pm) User Contributed Perl Documentation Feed::Find(3pm)
NAME
Feed::Find - Syndication feed auto-discovery
SYNOPSIS
use Feed::Find;
my @feeds = Feed::Find->find('http://example.com/');
DESCRIPTION
Feed::Find implements feed auto-discovery for finding syndication feeds, given a URI. It (currently) passes all of the auto-discovery tests
at http://diveintomark.org/tests/client/autodiscovery/.
Feed::Find will discover the following feed formats:
o RSS 0.91
o RSS 1.0
o RSS 2.0
o Atom
USAGE
Feed::Find->find($uri)
Given a URI $uri, use a variety of techniques to find the feeds associated with that page. If $uri itself points to a feed (i.e., if the
Content-Type of the response is a recognized feed type), returns $uri.
Returns a list of feed URIs.
The following techniques are used:
1. <link> tag auto-discovery
If the page contains any <link> tags in the <head> section, these tags are examined for recognized feed content types. The following
content types are treated as feeds: application/x.atom+xml, application/atom+xml, application/xml, text/xml, application/rss+xml, and
application/rdf+xml.
2. Scanning <a> tags
If the page does not contain any known <link> tags, the page is then scanned for <a> tags for links to URIs with certain file
extensions. The following extensions are treated as feeds: .rss, .xml, and .rdf.
Note that this technique is employed only if the first technique returns no results.
Feed::Find->find_in_html($html [, $base_uri ])
Given a reference to a string $html containing an HTML page, uses the same techniques as described above in find to find the feeds
associated with that page.
If you know the URI of the page, you should provide it in $base_uri, so that relative links can be properly made absolute. Feed::Find will
attempt to determine the correct base URI, but unless that URI is specified in the HTML itself (in a "<meta>" tag), you'll need to supply
it yourself.
Returns a list of feed URIs.
LICENSE
Feed::Find is free software; you may redistribute it and/or modify it under the same terms as Perl itself.
AUTHOR & COPYRIGHT
Except where otherwise noted, Feed::Find is Copyright 2004 Benjamin Trott, ben+cpan@stupidfool.org. All rights reserved.
perl v5.10.1 2011-01-28 Feed::Find(3pm)