10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi Everyone,
I am getting strange behavior, same script runs fine without any error in one AIX machine, whereas on another it is throwing this error "0403-057 Syntax error at line 399 : `"' is not matched", I also ran the script in debug mode.
This is the output, still doesn't say anything.... (2 Replies)
Discussion started by: sid1987
2 Replies
2. Shell Programming and Scripting
Hi,
I am getting this error in my attached shell script, kindly help as soon as possible:
Thanks,
Andre (2 Replies)
Discussion started by: damoon
2 Replies
3. Shell Programming and Scripting
curr_time=`date +%Y%m%d%H%M`
curr_date=`date +%Y%m%d`
zero=0
script_path="/home/wccuser1/wcc/Scripts/bulk_file_ftp"
file_dir="/home/wccuser1/wcc/Bulk_Files"
todays_file_count=`ls -ltr | grep $curr_date | awk '{print $9}' | wc -l`
todays_file=`ls -ltr | grep $curr_date | awk '{print $9}'`
if... (5 Replies)
Discussion started by: gagandeep
5 Replies
4. Shell Programming and Scripting
Hi All
I am quite new to Unix. Following is a shell script that i have written and getting the subject mentioned error.
#!/bin/ksh
#-------------------------------------------------------------------------
# File: ang_stdnld.ksh
#
# Desc: UNIX shell script to extract Store information.... (3 Replies)
Discussion started by: amitsinha
3 Replies
5. Shell Programming and Scripting
I am able to 'Make' some of projects's modules using GNU's make except one where it throws me the following error
gmake -f Makefile
/bin/sh: syntax error at line 1: `if' unexpected
gmake: *** Error 2
I am sure it has nothing to do with the Makefile as there is no 'if' in the first... (1 Reply)
Discussion started by: sudsa
1 Replies
6. UNIX for Advanced & Expert Users
Hi,
I am trying to execute the above attached script. and i am getting the error as syntax error at line 8: `<<' is not matched.
While i am trying to run that particular line (cat <<EOF > /tmp/query.sql) independently in the prompt it is running successfully without any error.
I am running... (2 Replies)
Discussion started by: satyaatcgi
2 Replies
7. Shell Programming and Scripting
Help please! :confused:
I have the following error with the following file and the emails are not arriving to the email, any idea please?
ERROR: ./launch_full_backup.sh: Syntax error at line 28 : `else' is not expected.
FECHA=`date +%d%m%y%H%M`... (2 Replies)
Discussion started by: villenan
2 Replies
8. Shell Programming and Scripting
hi ,
while running this script i am getting below error:
Syntax error at line 11 : `for' is not matched.
here is program:
#! /bin/ksh
sqlplus -s << !+!
user/password
update GR_SUB_SCRIPT_PC set act_del_ind='0';
commit;
exit;
!+!
cd /home/salunke/pvcsfiles/source_files
for i in... (5 Replies)
Discussion started by: digambar
5 Replies
9. Shell Programming and Scripting
Hi,
I am getting this error in my shell script, kindly help as soon as possible:
###################################################################
# Main body of program
###################################################################
. /saptech/scripts/common/declare # Defines... (1 Reply)
Discussion started by: vishal_ranjan
1 Replies
10. Programming
I compiled C program under SUN OS sparcv9 ...I had a problem related to SIGBUS which has been resolved by adding an option to the CC compiler which is memory alignement option ..-memalign=1i as I remmber ...after running the program I got the below error please let me KNow more details what should... (2 Replies)
Discussion started by: atiato
2 Replies
MooseX::Declare::Syntax::Keyword::MethodModifier(3pm) User Contributed Perl Documentation MooseX::Declare::Syntax::Keyword::MethodModifier(3pm)
NAME
MooseX::Declare::Syntax::Keyword::MethodModifier - Handle method modifier declarations
DESCRIPTION
Allows the implementation of method modification handlers like "around" and "before".
ATTRIBUTES
modifier_type
A required string that is one of:
o around
o after
o before
o override
o augment
METHODS
register_method_declaration
Object->register_method_declaration (Object $metaclass, Str $name, Object $method)
This will add the method modifier to the $metaclass via Moose::Utils "add_method_modifier", whose return value will also be returned from
this method.
CONSUMES
o MooseX::Declare::Syntax::MethodDeclaration
SEE ALSO
o MooseX::Declare
o MooseX::Declare::Syntax::MooseSetup
o MooseX::Declare::Syntax::MethodDeclaration
o MooseX::Method::Signatures
AUTHOR
Florian Ragwitz <rafl@debian.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2008 by Florian Ragwitz.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
perl v5.18.2 2013-12-14 MooseX::Declare::Syntax::Keyword::MethodModifier(3pm)