02-09-2011
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Is there one out there that supports Perl/Tk ??? (5 Replies)
Discussion started by: perleo
5 Replies
2. Programming
Hey Im starting out in C just recently and Im needing a string that converts binary to text, The only way i know of doing this without knowledge of C entirely. Is Making a sorta of library of the entire alphabet in binary for the program to select the text from it to display a sentence. If that... (2 Replies)
Discussion started by: 01doublehelix10
2 Replies
3. Shell Programming and Scripting
Hi,
I am writing a bash shell script. I would like to execute a statement only if an array contains a specific value. For example:
array=(1 3 5 7)
I would like to execute the statement only if the value 3 is present in ${array}.
Thanks for any help,
Mike (1 Reply)
Discussion started by: msb65
1 Replies
4. UNIX and Linux Applications
cld someone suggest a good web to wap convertor (1 Reply)
Discussion started by: viapillai
1 Replies
5. Shell Programming and Scripting
Hi,
I have a file that contains thousands of records. Each record starts with "New Record". I need to search this file based on a given value of "timestamp" and write all the records that match this timestamp into a new file.
I was able to locate the existence of a given value of timestamp using... (10 Replies)
Discussion started by: shoponek
10 Replies
6. Shell Programming and Scripting
Hi,
Here is a tough requirement , to be served by bash script.
I want to perform 3,00,000 * 10,000 searches.
i.e. I have 10,000 doc files and 3,00,000 html files in the file-system. I want to check, which of the doc files are referred in any html files. (ex- <a href="abc.doc">abc</a>)... (3 Replies)
Discussion started by: jitendriya.dash
3 Replies
7. Shell Programming and Scripting
Hi, I'm new at Linux shell programming so I could use some help. I need to make a 20thdecimal convertor. Is just like hexadecimal, the only difference is that hexadecimal goes from 1-9 and A-F, and I need this one to go from 1-9 and A-J.
I got some already but I get endless loop, please take a... (7 Replies)
Discussion started by: Dax01
7 Replies
8. Shell Programming and Scripting
hey all,
If I have the given sentence.
I like bobo.
How could I reverse it to be :
.bobo like I
I am NOT talking about reversing words or characters by using rev. I am talking about reversing the whole sentence(placement of words in the given sentence).
thank you. (5 Replies)
Discussion started by: eawedat
5 Replies
9. Shell Programming and Scripting
Creating the array.
while read line
do
array+=("$line")
done < "$temporary_file"
This is the basic idea, but not working at the moment.
It just seems to be returning "No such file or directory"
for each array member
for (( i = 0 ; i < "${#array}"; i++ )); do
if grep "@"... (7 Replies)
Discussion started by: briandanielz
7 Replies
LEARN ABOUT MOJAVE
uri::url
URI::URL(3) User Contributed Perl Documentation URI::URL(3)
NAME
URI::URL - Uniform Resource Locators
SYNOPSIS
$u1 = URI::URL->new($str, $base);
$u2 = $u1->abs;
DESCRIPTION
This module is provided for backwards compatibility with modules that depend on the interface provided by the "URI::URL" class that used to
be distributed with the libwww-perl library.
The following differences exist compared to the "URI" class interface:
o The URI::URL module exports the url() function as an alternate constructor interface.
o The constructor takes an optional $base argument. The "URI::URL" class is a subclass of "URI::WithBase".
o The URI::URL->newlocal class method is the same as URI::file->new_abs.
o URI::URL::strict(1)
o $url->print_on method
o $url->crack method
o $url->full_path: same as ($uri->abs_path || "/")
o $url->netloc: same as $uri->authority
o $url->epath, $url->equery: same as $uri->path, $uri->query
o $url->path and $url->query pass unescaped strings.
o $url->path_components: same as $uri->path_segments (if you don't consider path segment parameters)
o $url->params and $url->eparams methods
o $url->base method. See URI::WithBase.
o $url->abs and $url->rel have an optional $base argument. See URI::WithBase.
o $url->frag: same as $uri->fragment
o $url->keywords: same as $uri->query_keywords
o $url->localpath and friends map to $uri->file.
o $url->address and $url->encoded822addr: same as $uri->to for mailto URI
o $url->groupart method for news URI
o $url->article: same as $uri->message
SEE ALSO
URI, URI::WithBase
COPYRIGHT
Copyright 1998-2000 Gisle Aas.
perl v5.18.2 2012-02-11 URI::URL(3)