I am trying to debug a script. I am getting the error following errors from the code listed below. I am working in Korn shell in a Sun Solaris UNIX environment.
hi there
i write one awk script file in shell programing
the code is related to dd/mm/yy to month, day year format
but i get an error
please can anybody help me out in this problem ??????
i give my code here including error
awk `
# date-month -- convert mm/dd/yy to month day,... (2 Replies)
I have written a basic fetching script. The script logs into an FTP site, downloads a .zip file, then unzips and moves the files to the necessary folders, then deletes them, etc.
The problem I have is if one of the files no longer exists on the FTP site or another part of the script fails, then... (3 Replies)
Hello,
I know nothing about UNIX, ftp, etc. I am building an excel VBA macro which calls a .bat file. I've taken a pre-existing batch file and am trying to modify it to fit my purposes. I would be very grateful for some assistance.
Here is my .bat file:
echo off
set... (9 Replies)
I need help in the following script. I want to grep the sql errors insert into the error table and exit the shell script if there is any error, otherwise keep running the scripts.
Here is my script
#!/bin/csh -f
source .orapass
set user = $USER
set pass = $PASS
cd /opt/data/scripts
echo... (2 Replies)
hello everyone
i am beginner on shell scripting .and i am working on my project work on ad hoc network
i wrote a batch (.sh) to do a looping and execute a tcl script i wrote before in each iteration ..but i got this problem "
syntax error near unexpected token `('... (1 Reply)
Hi ,
I Have Written A Simple Script To Check Greatest Of '2' Number When Execuating The Script I Am Getting The Below Error
SP11: if:not found
SP11: line 4:syntax error at line 5:'then' unexpexted
And The Program I Have Wrriten For This
#!bin/ksh
echo "Enter Two Numbers"... (3 Replies)
HI,
We are using two shell scripts, script.sh,env.sh, where env.sh will be called inside script.sh. The variable inside env.sh is used as $var in script.sh.But while running the script its not identifying that variable. Is there any permission needed to call a script inside another script.
... (3 Replies)
Hi All,
Please hav a look at the below peice of script and let me know if there are any syntax errors.
i found that the below peice of Script is causing issue. when i use SFTP its working fine, but there is a demand to use FTP only. please find below code and explain if anything is wrong... (1 Reply)
I am getting the following error while passing parameter to a shell script called within awk script. Any idea what's causing this issue and how to ix it ? Thanks
sh: -c: line 0: syntax error near unexpected token `newline'
sh: -c: line 0: `./billdatecalc.sh ... (10 Replies)
Hi All
when I execute from psql prompt, I get the result, when I try to automate
using a shell script, the query is not working
# `/usr/bin/psql -U postgres -d coba1 -c "select name from users where
"Date" > current_date - 30;"`
ERROR: column "Date" does not exist
LINE 1: select... (2 Replies)
Discussion started by: srilinux09
2 Replies
LEARN ABOUT DEBIAN
net::dbus::binding::message::error
Net::DBus::Binding::Message::Error(3pm) User Contributed Perl Documentation Net::DBus::Binding::Message::Error(3pm)NAME
Net::DBus::Binding::Message::Error - a message encoding a method call error
SYNOPSIS
use Net::DBus::Binding::Message::Error;
my $error = Net::DBus::Binding::Message::Error->new(
replyto => $method_call,
name => "org.example.myobject.FooException",
description => "Unable to do Foo when updating bar");
$connection->send($error);
DESCRIPTION
This module is part of the low-level DBus binding APIs, and should not be used by application code. No guarentees are made about APIs under
the "Net::DBus::Binding::" namespace being stable across releases.
This module provides a convenience constructor for creating a message representing an error condition.
METHODS
my $error = Net::DBus::Binding::Message::Error->new( replyto => $method_call, name => $name, description => $description);
Creates a new message, representing an error which occurred during the handling of the method call object passed in as the "replyto"
parameter. The "name" parameter is the formal name of the error condition, while the "description" is a short piece of text giving more
specific information on the error.
my $name = $error->get_error_name
Returns the formal name of the error, as previously passed in via the "name" parameter in the constructor.
AUTHOR
Daniel P. Berrange.
COPYRIGHT
Copyright (C) 2004-2009 Daniel P. Berrange
SEE ALSO
Net::DBus::Binding::Message
perl v5.14.2 2011-06-30 Net::DBus::Binding::Message::Error(3pm)