09-18-2012
I didn't get you, can you please explain me with an small example.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
When I log on to my unix session I have a default location. But I need to navigate 3 directories up then 6 directories down to where I want to be. There must be a way to create some sort of short cut from my defeault location to my required location. Can anyone help? (4 Replies)
Discussion started by: jjaggii
4 Replies
2. Shell Programming and Scripting
i have to point out that i'm a avid shell script lover and i have next to zero interest in perl which is why i dont know the first thing about it. however, just need to do this one thing on it..
i need to do something in perl but dont know how. I have a list of email addresses in the following... (5 Replies)
Discussion started by: Terrible
5 Replies
3. Shell Programming and Scripting
Somewhat long story:
I have a simple Perl CGI script that uses Expect to Telnet to a device and grab some data, and then spits it back to Perl for display on the Webpage.
This works for many devices I've tried, but one device just fails, it keeps rejecting the password on this device, only... (1 Reply)
Discussion started by: jondo
1 Replies
4. Shell Programming and Scripting
Hi All
Can anyone please help me how to open a webpage suppose(Google)
with the help of perl script and refresh it after every 5 minutes. (0 Replies)
Discussion started by: parthmittal2007
0 Replies
5. Shell Programming and Scripting
I am trying to write a Perl script that lists all the .pm files within c:\perl on a WinXP system. I have Strawberry Perl installed. I know that I can perform the action I want with shell script commands but I just want to perform it with Perl. I have written a Perl script that opens the pwd and... (0 Replies)
Discussion started by: ShermW0829
0 Replies
6. Shell Programming and Scripting
I am requesting for the text parsing section below. Any helps are highly appreciated.
<tr valign="top"><td nowrap>Source name</td>
<td style="text-align: justify">Sample Name<br></td>
I want Sample Name from above.
In the same file, I have to search for another pattern like this
<td><a... (1 Reply)
Discussion started by: jacobs.smith
1 Replies
7. UNIX for Dummies Questions & Answers
I would be very happy (after a lot of fruitless searching) if someone could explain the meaning of these variations on the ls command:
ls */
ls */.
ls */./
I understand the basic use of ls already eg ls -al but am wanting to list from different points in the file structure without having to... (4 Replies)
Discussion started by: bloodrule
4 Replies
8. Shell Programming and Scripting
Hi Team,
I have a requirement to login into URL using username and password , then I have to select a "particular name" from drop-down menu and then Read the values user records etc.... using perl.
Is it possible to do in perl script ? (OR) Can you please let me know which scripting... (1 Reply)
Discussion started by: latika
1 Replies
9. Shell Programming and Scripting
foreach my $ds (sort {
$a->{books} cmp $b->{books} ||
(($a->{books} eq "A") ? ($a->{hammers} cmp $b->{hammers}) :
(($a->{shoes} <=> $b->{shoes}) ||
($a->{hammers}... (1 Reply)
Discussion started by: scj2012
1 Replies
10. UNIX for Beginners Questions & Answers
Hello... and thanks in advance for in help anyone can offer me
I'm poking around the GNU Info command... It's a lot different from man pages (Including holding much more information) but I'm having issues navigating it... And it's frustrating the hell out of me!
My problem is when I go to... (1 Reply)
Discussion started by: bodisha
1 Replies
LEARN ABOUT DEBIAN
explain_fopen_or_die
explain_fopen_or_die(3) Library Functions Manual explain_fopen_or_die(3)
NAME
explain_fopen_or_die - open file and report errors
SYNOPSIS
#include <libexplain/fopen.h>
FILE *explain_fopen_or_die(const char *pathname, const char *flags);
DESCRIPTION
The explain_fopen_or_die() function opens the file whose name is the string pointed to by pathname and associates a stream with it. See
fopen(3) for more information.
This is a quick and simple way for programs to constitently report file open errors in a consistent and detailed fahion.
RETURN VALUE
Upon successful completion explain_fopen_or_die returns a FILE pointer.
If an error occurs, explain_fopen will be called to explain the error, which will be printed onto stderr, and then the process will termi-
nate by calling exit(EXIT_FAILURE).
SEE ALSO
fopen(3)
stream open functions
explain_fopen(3)
explain fopen(3) errors
exit(2) terminate the calling process
COPYRIGHT
libexplain version 0.52
Copyright (C) 2008 Peter Miller
AUTHOR
Written by Peter Miller <pmiller@opensource.org.au>
explain_fopen_or_die(3)