Anybody happen to be familiar with any deficiencies with g++ 2.95.3 regarding exception handling, specifically in multi-threaded / multi-module (shared library) based applications?
I'm seeing behavior where thrown exceptions are not caught, but basically ignored causing the application to... (0 Replies)
Hi all,
I am writing a set of scripts and some of these are nested within others. I want to be able to execute a single high-level script at the command-line, which in turn may invoke other scripts as required, and when a failure occurs in any of the nested scripts, I want to be able to track... (2 Replies)
hello friends,
I am given a project to handle the command not found exception.I am using RED HAT 9. Generally, when we press a wrong command in the terminal: example :-
" $cet " in place of " $cat ". Then we get this exception. But I need to give the output as the combinations that are possible... (5 Replies)
Hi Friend,
Could you please provide me with some tutorial for Advanced Exception handling in C++, mainly set_terminate() and set_unexpected() functions?
Please find the details below:
OS: Unix
Compiler: gcc.
Thanks. :)
Awesome001 (0 Replies)
Sometimes when I try to use curl to upload to an ftp server, I get the message:
$curl -T file.wmv ftp.eu.filesonic.com --user user:password
curl: (8) Got a 421 ftp-server response when 220 was expected
How do I get the script to try again if I get the message curl: (8)? (2 Replies)
Hello All,
I have a question ....which I am totally confused about!
If I have a fxn foo in a program which returns a logical value. But it has a posssiblity to throw some exception.
Now my exception handler returns a value as a string stating why the exception occured.
But my... (1 Reply)
Hi all,
An application works well under 2.6 but under 7 it gives TEXT_IO exceptions. (Is_Open, Check_Is_Open, Get_Line procedures). Any idea?
Regards (3 Replies)
Hi Folks,
please advise , I have logs generated on unix machine at location /ops/opt/aaa/bvg.log , now sometimes there come exception in these logs also, so I want to write such a script such that it should continuously monitor these logs and whenever any exception comes that is it try to find... (3 Replies)
Discussion started by: tuntun27272727
3 Replies
LEARN ABOUT OPENSOLARIS
conv_lp
conv_lp(1M) System Administration Commands conv_lp(1M)NAME
conv_lp - convert LP configuration
SYNOPSIS
conv_lp [-d dir] [-f file]
DESCRIPTION
conv_lp reads LP printer configuration information from a directory and converts it to an output file for use with print client software.
OPTIONS
The following options are supported:
-d dir The root (` / ') directory from which LP configuration information is read. The default is root (` / ').
-f file The output file to which conv_lp writes the converted LP configuration information. The default is /etc/printers.conf.
EXAMPLES
Example 1 Converting LP Configuration Information from the Default Directory and File
The following example converts LP configuration information from directory root (/) to file /etc/printers.conf.
% conv_lp
Example 2 Converting LP Configuration Information From a Specified Directory and File
The following example converts LP configuration information from directory /export/root/client to file /export/root/client/etc/print-
ers.conf.
% conv_lp -d /export/root/client -f
/export/root/client/etc/printers.conf
EXIT STATUS
The following exit values are returned:
0 Successful completion.
non-zero An error occurred.
FILES
/etc/printers.conf System printer configuration database.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWpcu |
+-----------------------------+-----------------------------+
SEE ALSO lpset(1M), printers.conf(4), attributes(5)SunOS 5.11 9 Sep 1996 conv_lp(1M)