04-06-2015
Thanks Rudi for your reply.
You are absolutely correct.
I had 2 files staring with the same prefix:
PROFILE_TXN_[0-9]_dat.lst
PROFILE_TXN_OUT_OF_BALANCE_dat.lst
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
It is erroring for : binary operator expected on the
if line.
Any suggestions?
Thanks in advence. (7 Replies)
Discussion started by: apps_user
7 Replies
2. Shell Programming and Scripting
Within my script, there is this following if, then statement. It basically looks for files in a directory that match a certain naming convention (bingofile*.DAT) and are non empty files and moves these files to a diff. directory. The script works okay if there is only one file matching the search... (4 Replies)
Discussion started by: basisvasis
4 Replies
3. UNIX for Dummies Questions & Answers
Hi
I am doing a script like
if
then
echo "table name dosent exist"
exit
fi
the problem is if $table_name is null then i am getting the error
Please help me
Thanks in advance (2 Replies)
Discussion started by: ssuresh1999
2 Replies
4. UNIX for Dummies Questions & Answers
find . -name "*.*"|xargs grep WT:DBF_WL>> $F
Wfexist=`cat $F|grep $i`
echo $Wfexist
if ;
then
echo $Wfexist
echo "Workflow Exist"
else
touch $O
chmod 777 $O
echo $Wfexist
echo $WfExist >> $O
fi
I am getting the error that -ne: unary operator expected in the line with red... (2 Replies)
Discussion started by: ritu.s
2 Replies
5. Linux
hi
i'm trying to do program that counts the total no of words from files from a directory and all it's subdirectories.ang i get the binary operator expected error at line 7 and line 12.can you please help me with this as quick as possible?
if test -d $1
then
sum=0
for name in $1/*
do... (2 Replies)
Discussion started by: marian
2 Replies
6. Shell Programming and Scripting
Hello,
I am not sure, where I am missing in the scirpt, I am trying to grep few users from /etc/passwd file and if exists, I added line to echo as user exist, if not create it.
#!/bin/bash
for vid in v707 z307 z496 z163 z292 ; do
if
then
echo " $vid User exists "
else
... (2 Replies)
Discussion started by: bobby320
2 Replies
7. Shell Programming and Scripting
Hi Experts,
Iam bit poor in shell scripting,
Here my requirement is for generating an alert where the oracle database db_recovery_file_dest_size usage. If it reaches beyond 80% should recieve an alert through an email.
Want to schedule this alert in cron.
#!/bin/bash
.... (9 Replies)
Discussion started by: Jagadish m
9 Replies
8. Shell Programming and Scripting
Here is line number 59 of my script
59 if ; thenI get the following error at this line.
Can you please explain why ? (1 Reply)
Discussion started by: mohtashims
1 Replies
9. UNIX for Beginners Questions & Answers
Hi Team,
I just started to learn shell scripting and i got this script from an online book and tried to run in my terminal. But it throws error message.
echo $0
-bash
echo $UID
501
cat check_rootuser.sh
#!/bin/bash
# Run as root, of course.
LOG_DIR=/var/log
ROOT_UID=0 # Only users... (4 Replies)
Discussion started by: SelvaKumarq
4 Replies
10. Shell Programming and Scripting
Hi,
Below is my code where i m trying to grep for name>$servername in manages*.tmp files
servername="serv1"
set manages*.tmp
if ; then
However, i get the below error at the if condition:
Can you please suggest how can i fix the problem. (3 Replies)
Discussion started by: mohtashims
3 Replies
ajdoc(1) General Commands Manual ajdoc(1)
NAME
ajdoc -- generate HTML API documentation, including crosscutting structure
SYNOPSIS
ajdoc [ -bootclasspath classpathlist ] [ -classpath classpathlist ] [-d path] [-help] [-package] [-pro-
tected] [-private] [-public] [-overview overviewFile] [ -sourcepath sourcepathlist ] [-verbose] [-version] [source-
files... | packages... | @file... | -argfile file... ] [ ajc options ]
Description
ajdoc renders HTML documentation for AspectJ constructs as well as the Java constructs that javadoc renders. In addition ajdoc displays
the crosscutting nature in the form of links. That means, for example, that you can see everything affecting a method when reading the doc-
umentation for the method.
To run ajdoc, use one of the scripts in the AspectJ bin directory. The ajdoc implementation builds on Sun's javadoc command line tool, and
you use it in the same way with many of the same options (javadoc options are not documented here; for more information on javadoc usage,
see the Javadoc homepage http://java.sun.com/j2se/javadoc/) .
As with ajc (but unlike javadoc), you pass ajdoc all your aspect source files and any files containing types affected by the aspects; it's
often easiest to just pass all the .java and .aj files in your system. Unlike ajc, ajdoc will try to find package sources using the speci-
fied sourcepath if you list packages on the command line.
To provide an argfile listing the source files, you can use use the same argfile (@filename) conventions as with ajc. For example, the
following documents all the source files listed in argfile.lst, sending the output to the docDir output directory.
ajdoc -d docDir @argfile.lst
See the ajc documentation for details on the text file format.
ajdoc honours ajc options. See the ajc documentation for details on these options.
ajdoc currently requires the tools.jar from J2SE 1.3 to be on the classpath. Normally the scripts set this up, assuming that your
JAVA_HOME variable points to an appropriate installation of Java. You may need to provide this jar when using a different version of
Java or a JRE.
Examples
Documenting Spacewar
o Change into the examples directory.
o Type mkdir doc destination directory for the documentation.
o Type ajdoc -private -d doc spacewar coordination
o (Use -private to get all members, since may of the interesting ones in spacewar are not public.)
o Type ajdoc -private -d doc @spacewar/demo.lst to use the argfile associated with Spacewar.
o To view the documentation, open the file index.html in the doc directory using a web browser.
ajdoc(1)