Hi All,
when i executing scripts i got error like:
syntax error on line 1, teletype
expr: syntax error
expr: syntax error
expr: syntax error
Please advise to me.
Note: Yesterday it's working fine, 2day only i got error. (2 Replies)
Can someone please tell me wht is wrong with the following peice of code?
I keep getting the following error -
0403-057 Syntax error at line 52 : `)' is not expected.
case "${option_count}" in
1) java -Xms256m -Xmx1536m "${APPLNAME}" "${ACTION_TYPE}" > "${LOGFILE}" 2>... (2 Replies)
Hello. Please help with this code. Returns an error message "syntax error near unexpected token =~. Conditional binary operator expected.
if " ]] || " ]]
then
echo "Enter only valid numbers"
fi (2 Replies)
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)
im kinda new to shell scripting so i need some help
i try to run this script and get the error code
> 5 ")syntax error: operand expected (error token is "
the code for the script is
#!/bin/sh
#
# script to see if the given value is correct
#
# Define errors
ER_AF=86 # Var is... (4 Replies)
Hi
I am getting error 'ksh: 0403-057 Syntax error: `done' is not expected.' when running below script any one can provide inputs on this.
------------------------
if
then
echo "Report Name |Modification Date|Report File Size|Owner" >SOX_`date +'%Y%m%d'`
while read line
do... (2 Replies)
i dont know where m i mistaking.. please help me out with this issue :(
thanks in advance:rolleyes:
one_main()
{
a=100
while ;
do
clear
echo "##############################################"
echo ":: CURRENTLY YOU ARE IN RC AND OC MARKING ::"
echo... (1 Reply)
Hi,
I am new to shell scripting.i am trying to mail after my backup completed.
Here is my shell script:
if ; then
egrep (ERROR|error|Error|RMAN-) ${/backup/RMANBKUP/spool/shelltest.log} > /dev/null
if ; then
RESULT_MSG=WARNING: Errors occurred during the ${ORACLE_SID} Rman... (3 Replies)
Hi All,
i'm getting this error,
can somebody check?
file name is like this
951957039339019_560119_000523_2w47_3060_0038_6002.log
filename=$(basename "$1")
extension="${filename##*.}"
filename="${filename%.*}"
IFS="_" read -r -a array... (2 Replies)
Hi,
While executing my code i am getting below Error:
./check_disk1: 0403-057 Syntax error at line 55 : `(' is not expected.
My code is :
#!/bin/ksh
PROGNAME=`basename $0`
STATE_OK=0
STATE_WARNING=1
STATE_CRITICAL=2
STATE_UNKNOWN=3
OS=$(uname)
AWK="/usr/bin/awk"... (6 Replies)
Discussion started by: abodage
6 Replies
LEARN ABOUT MOJAVE
moosex::declare::syntax::keyword::class
MooseX::Declare::Syntax::Keyword::Class(3pm) User Contributed Perl Documentation MooseX::Declare::Syntax::Keyword::Class(3pm)NAME
MooseX::Declare::Syntax::Keyword::Class - Class declarations
METHODS
generate_export
CodeRef generate_export ()
This will return a closure doing a call to "make_anon_metaclass".
CONSUMES
o MooseX::Declare::Syntax::MooseSetup
o MooseX::Declare::Syntax::RoleApplication
o MooseX::Declare::Syntax::Extending
MODIFIED METHODS
imported_moose_symbols
List Object->imported_moose_symbols ()
Extends the existing "imported_moose_symbols" in MooseX::Declare::Syntax::MooseSetup with "extends", "has", "inner" and "super".
auto_make_immutable
Bool Object->auto_make_immutable ()
Is set to a true value, so classes are made immutable by default.
make_anon_metaclass
Object Object->make_anon_metaclass ()
Returns an anonymous instance of Moose::Meta::Class.
SEE ALSO
o MooseX::Declare
o MooseX::Declare::Syntax::Keyword::Role
o MooseX::Declare::Syntax::RoleApplication
o MooseX::Declare::Syntax::Extending
o MooseX::Declare::Syntax::MooseSetup
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::Class(3pm)