Hey there,
I have a table of contents file of the form
1 Title1
1.1 Subtitle1
1.1.1 Subsubtitle1
1.1.2 Subsubtitle2
...
and want to count the number of dots in the first field to find out the level of the section.
I use the gsub function for the job, which works if I pass the pattern... (2 Replies)
For a Script I need to detemine which field of the unix environment variable SHLIB_PATH has the
WALTDB entry.
export SHLIB_PATH=/usr/user5/WALTDB/oracle/product/10.2.0/lib32:/usr/TZD/bin.wdad/mug/oracle/lib:
echo $SHLIB_PATH | awk -F: '{ print $1 }'
Shure gives me the first entry, but... (6 Replies)
guys,
I need to know how to assing pattern matched string as an input command variable. Here it goes'
My script is something like this.
./routing.sh <Server> <enable|disable>
## This Script takes an input <Server> variable from this line of the script ##
echo $1 | egrep... (1 Reply)
I want to replace a certain pattern with the variable already defined.
e.g.
set path_verilog = /home/priya/bin/verilogfile
my file contents are :
verilog new
verilog is defined here verilog_path_comes
I am using the below command
sed 's/verilog_path_comes/'$path_verilog'/g' <filename>... (2 Replies)
I have two variables,
my $filename = "abc_yyyy_mm_dd.txt";
my $filename1 = " abc_2011_11_07.txt";
I need to perform some operations after checking if $filename has $filename1 in it
i have used the below code,
if($filename =~ /^$filename1/)
{
----
--
} (2 Replies)
Hi there,
I have a small question (most like a true beginners question :) ).
In a script I have a filename stored in variable (vFile). Through the an input parameter this variable gets its value (for instance cookie.txt).
Two new variables are created with the value of vFile, but with a... (2 Replies)
I am writing a bash script where I use two types of files that both contain a numerical pattern of the type 123.4567 (always groups of three and four digits separated by period) within their filenames. I need to assign the numerical patterns of these filenames to variables (inside a for loop),... (6 Replies)
Hi experts,
I have two arrays one has the file paths to be searched in , and the other has the files to be serached.For eg
searchfile.dat will have
abc303
xyz123
i have to search for files that could be abc303*.dat or for that matter any extension . abc303*.dat.gz
The following code... (2 Replies)
Input:
|Running the Rsync|Sun Oct 16 22:48:01 BST 2016
|End of the Rsync|Sun Oct 16 22:49:54 BST 2016
|Running the Rsync|Sun Oct 16 22:54:01 BST 2016
|End of the Rsync|Sun Oct 16 22:55:45 BST 2016
|Running the Rsync|Sun Oct 16 23:00:02 BST 2016
|End of the Rsync|Sun Oct 16 23:01:44 BST 2016... (4 Replies)
Hello,
We have wrote shell script for multiple file name search pattern.
file format: <numner>_<20180809>.txt
starting with single number and ending with 8 digits number
Command:
awk -v string="12_1234" -v serch="^+_+$" "BEGIN{ if (string ~/serch$/) print string }"
If sting matches... (4 Replies)
Discussion started by: koti_rama
4 Replies
LEARN ABOUT DEBIAN
ajdoc
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)