10-28-2004
9 More Discussions You Might Find Interesting
1. Programming
Hi all,
I've a structure let's say
typdef struct a { int a; int b; char* string} b;
I need to make the function smth like readdir(), returning everytime it's called pointer to the next structure. Let's say functions would read the next file in the directory and all the permitions put it in... (2 Replies)
Discussion started by: solvman
2 Replies
2. UNIX for Dummies Questions & Answers
What is a good and easy to set up program on Unix FreeBSD for playing streaming MP3s. Where can I get it and how do I install it? This is FreeBSD 4.3.
Thanx. (2 Replies)
Discussion started by: ByondF1
2 Replies
3. Programming
Hi All,
I am trying to read data from two files and then compare them and only print the records on the screen that have a same ID.i.e TAGNO =CUSTOMERNO
For Eg
My Input Files are (a) Transaction (b) Customer detail
The data in file a is like:
TagNo Date Time Station... (0 Replies)
Discussion started by: rooh
0 Replies
4. Solaris
SunOS 5.8
this command launchs my server:
./some_java_application > stdout.log 2>&1 &
tha stdout.log file was deleted
Q1) Is there a way to recover or redirect the writing stream without restart tha application?
Q2) If not Q1, is there a way to launch the application so I can see the... (3 Replies)
Discussion started by: fabtrix
3 Replies
5. Shell Programming and Scripting
Hi Master,
I've log in here
then try parsing log become :
3GPP-IMSI,Calling-Station-Id
528111500111614,6738790448
528111500068173,6738769831
.....
it is possible to use awk?
cause i 've try
awk '
/\Accounting\ /{f=1}
f && /\3GPP-IMSI \:\ String Value\ /{imsi=$4}
f &&... (1 Reply)
Discussion started by: bowbowz
1 Replies
6. Ubuntu
Hello, I have Ubuntu 64 bit 9.04 install dual boot
I can't see stream videos through Opera
I couldnt see it in Firefox did this:
"sudo apt-get install ubuntu-restricted-extras flashplugin-nonfree"
Now I can see it in firefox but not in Opera
Should not care and just use just Firefox.
thanks (0 Replies)
Discussion started by: Pitroadrush
0 Replies
7. UNIX for Dummies Questions & Answers
Hello Everyone,
The situation is:
$ alias rm="sh abc.sh"
#abc.sh:
read input
echo "The input was: " $input
$ rm xyz.txt
should return
"The input was: xyz.txt"
Here, I want the alias "rm" to execute the file "abc.sh", where "abc.sh" should take "xyz.txt"... (1 Reply)
Discussion started by: qasim
1 Replies
8. Shell Programming and Scripting
Hi
I used this command:
mplayer http://host/axis-cgi/mjpg/video.cgi -user root -passwd root \
-cache 1024 -fps 25.0 -nosound -vc ffh264 \
-demuxer 3 -dumpstream -dumpfile output.avi It's ok but...
Video Playing is very fast! Why? Is it a synch problem?
What parameter I have to use for... (1 Reply)
Discussion started by: takeo.kikuta
1 Replies
9. Homework & Coursework Questions
here's my statement:
sed -i '4s/$/ #/' sed_test_file.txt
I want to edit the n'th line (the '4' is for the example) of the file (but you can't just put the n instead of the 4)
sed_test_file is a simple text file containig text only
I tried to use $urlCounter instead of 4, as urlCounter... (4 Replies)
Discussion started by: ganraveh
4 Replies
LEARN ABOUT MOJAVE
uri::url5.18
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)