Hi All,
I have been fighting with a syntax error for the last 2 days, still haven't got the solution. Could you please help me, your help will be greatly appreciated.
In my script I am getting a error in a for loop, its similar to the one as is below.
for v_id in v1 v2 v3 v4
do... (8 Replies)
I get this error when I try to run my script
(BTW, this is a simple script I am supposed to write for my class)
$ menuscript
menuscript: syntax error at line 89 : `"' unmatched
$
Here is the code (Any help is greatly appreciated)
(Line numbers included)
1 #!/bin/ksh
2 ... (2 Replies)
I'm trying to write a small utility for syntax checking. I've tried using Flex/Bison, but these seem too advanced for my task. A simpler tool would be appreciated. (1 Reply)
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)
Hello all!
This is my first post and I'm very new to programming. I would like help creating a simple perl or bash script that I will be using in my work as a junior bioinformatician.
Essentially, I would like to take a tab-delimted or .csv text with 3 columns and write them to a "3D" matrix:
... (16 Replies)
Hi guys i'd like to show you this code of my script, where i couldn't find this error
" #! /bin/bash
#copiabin.sh: copia todos los archivos ejecutables a bin
if
then
mkdir $HOME/bin
fi
# copia de archivos y contador N
N=0
for ARCH in *
do
if # Si el archivo es... (9 Replies)
Hi everyone, i'd like someone chechk this script, i know it's very simple but it doesn't work good, let me tell you this script works over huge directories, maybe that's the problem, if somebody can give me other way to develop, or show me where it's the problem, i'll appreciate it.
... (9 Replies)
I have a list of IP address and want to be assess whether FTP is allowing
FTP access. I don't want to use lousy NT shell, but cannot get the syntax down on this. ftphosts.txt is a simple list of IP adresses.
I want to iterate through the IPS and do a simple
ftp IPadress
user ftp password... (15 Replies)
Hi team,
I have two select statements and need to run them using SYSDBA user
select * from temp_temp_seg_usage;
select segment_name, tablespace_name, bytes/ (1024*1024) UsedMb from
dba_segments where segment_name='TEMP_TEMP_SEG_USAGE';
Need to run this using a shell script say named... (1 Reply)
#!/bin/bash
if ; then
echo "Lipsa IP";
exit;
fi
i=1
ip=$1
while ; do
if ; then
rand=`head -$i pass_file | tail -1`
user=`echo $rand | awk '{print $1}'`
pass=`echo $rand | awk '{print $2}'`
CMD=`ps -eaf | grep -c mysql`
if ; then
./mysql $ip $user $pass &
else
sleep 15... (6 Replies)
Discussion started by: galford
6 Replies
LEARN ABOUT OSF1
feedback
feedback(1) General Commands Manual feedback(1)NAME
feedback - Generate an optimization feedback file using pixie and prof
SYNOPSIS
feedback [prof-options] [-o feedback-file] [-v] objfile [objfile-arguments]
OPTIONS
The feedback command accepts the following prof(1) options and any unambiguous abbreviations: -asm, -clock megahertz, -{e|E}xclude proce-
dure_name, -feedback filename, -heavy, -invocations, -lines, -merge filename, -numbers, -{o|O}nly procedure_name, -procedures, -quit n,
-testcoverage, -truecycles [0,1,2], -zero.
The feedback command ignores all other options in order to provide compatiblility with older versions of the feedback command. An
option argument following an option not recognized by this or older versions of the feedback command will be treated as the objfile
argument. Specifies the name of the feedback file. This can also be specified by the -feedback option of prof. You should use only
one of these options to specify a feedback file, not both. Causes the pixie, application, and prof commands to be printed as they
are invoked.
OPERANDS
Specifies the executable of the application for which a feedback file is to be generated. A pixie-instrumented version of this executable
will be executed with the current working directory and environment variables. The feedback file that is generated will reflect the behav-
ior of one execution of the instrumented objfile. Specify the arguments that will cause the behavior that you want to have optimized when
the compiler uses the feedback file.
DESCRIPTION
The feedback command invokes pixie to add profiling code to an object file. The object file generated by pixie is executed to obtain pro-
filing information. The feedback command then invokes prof to analyze the profiling information.
If the output of objfile needs to be redirected, but not the output of the feedback utility, the redirection characters need to have sh(1)
syntax and be within quotes. If objfile is multi-threaded, the LD_LIBRARY_PATH environment variable needs to include the current working
directory.
EXAMPLES
Send the profiling information to the standard output: $ feedback myprog Write a binary formatted performance profile to the file
myprog.feedback, which then helps a subsequent recompilation optimize the program: $ feedback -feedback myprog.feedback myprog $ cc -O
-feedback myprog.feedback -o myprog myprog.c
FILES
Object with profiling code. Generated by pixie. Basic block addresses. Generated by pixie. Basic block counts. Generated by
myprog.pixie.
Note: Run pixie and prof independently if alternative names are needed.
SEE ALSO cc(1), pixie(5), prof(1)feedback(1)